Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image preloading with CSS in Chrome Re: Image preloading with CSS in Chrome

#116436
tbwiii
Participant

Have you considered using [sprites](https://css-tricks.com/css-sprites/ “CSS-Tricks Article”)?

Basically it is one image that holds multiple images. They can be large (every image in the layout) or small scale (just a button’s regular, hover, and pressed state).

All you have to do is change the background position when the button is hovered over.