Lately I have been stacking selectors with matching properties into one rule, thinking it's more efficient like so:
.logo, .menu, .format h2, .format h3, .format h4, .format h5, .format h6, #footer {
font-family: 'Compressed Light', sans-serif;
font-weight: 200;
font-style: normal;
font-variant: small-caps;
}
.logo {
font-size: 3.692307692em; /* 48px / 13px */
line-height: 100%;
}
I then set the other font properties like sizing and line height in separate rules.
Would it be more efficient to use shorthand, including all the properties, even if I'll need as many rules for sizing?
.logo {
font: normal small-caps 200 3.692307692em/100% 'Compressed Light', sans-serif; /* 48px / 13px */
}
Which style does the browser process more quickly?