When you have two rules like this:
.foo {
background-image: url(foo.gif);
}
.foo {
background-image: url(bar.gif);
}
and have <div class='foo'>Foobar</div>
Will your browser cache both, or just the one actually getting displayed (bar.gif
in this case)?
Is this true in all setups? (the rules being in different files, !important
being applied to one, etc)