CSS Image Preloader

/ Published in: CSS
Save to your folder(s)

Copy this code and paste it in your HTML
  1. #preloadedImages {
  2. width: 0px;
  3. height: 0px;
  4. display: inline;
  5. background-image: url(path/to/image1.png);
  6. background-image: url(path/to/image2.png);
  7. background-image: url(path/to/image3.png);
  8. background-image: url(path/to/image4.png);
  9. background-image: url();
  10. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.