Forum Moderators: not2easy
.image {
background-image: url('data:image/png;base64,blahblahblah...');
background-size: 100%;
} .image {
background-image: url('data:image/png;base64,blahblahblah...');
*background-image: url('https://path/to/myimage.png');
background-size: 100%;
} What do you guys think?
< IE7
Check your stats to see how many of your visitors are still using IE7, it might not be needed to bother... (it's been a while that I stopped trying to deal with older IE versions, this is too much of a pain).
when I have a background image in the stylesheet, does the browser download the image when it downloads the stylesheet? Or does it only download it when the selector is used in the HTML?The latter.