When GZIPped, is this …
h1 {
font-size: 3em;
font-weight: bold;
}
h2 {
font-size: 2em;
font-weight: bold;
}
b, strong {
font-weight: bold
}
… substantially different from this …
h1,h2,b,strong{font-weight:bold}
h1{font-size:3em}
h2{font-size:2em}
… when it comes to file download size?
(Obviously, this is short enough that it won't really matter. But on an enterprise-level site with thousands of classes, is one of these going to be radically different from a file-size perspective? Also: There are other benefits to extracting out common code, but I'm wondering at the moment about file size.)
But, as a side note, the compressed version of the first example (92 bytes) is still larger than the uncompressed second version (70 bytes)