Css trick – Preload images

[sourcecode lang=”CSS”]
#preloadedimages {
width: 0px;
height: 0px;
background-image: url(‘path/to/image1.png’);
background-image: url(‘path/to/image2.png’);
background-image: url(‘path/to/image3.png’);

}
[/sourcecode]

You dont even have to put this in a html element.  Just in your stylesheet!!!

pretty simple, isnt it?

Posted in Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *