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.)
Jeremy, thanks for running that test. I agree: it'd be worth running a larger-scale test on it. I'll let you know what I find out.