View all rules

S9 Prefer rems for element sizing

Use rem units across the board to size elements. Percentages or vh/vw units can work for size relations. Use pixels for media query statements.

    
.c-button {
    background: blue;
    padding: 10px 8px;
}
    
    
.c-button {
    background: blue;
    padding: 1rem 0.8rem;
}