CSS Image Preload - :hover Pseudo Selector Parent Of display: none Elements


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

A series of tests to determine the best way to preload css images on elements that by default are hidden.


Copy this code and paste it in your HTML
  1. #preload { background-image: url(image.png); position: absolute; left: -9999px; } #preload { background-image: url(image.png); visibility: hidden; }
  2. #preload { background-image: url(image.png); background-repeat: no-repeat; background-position: -9999px -9999px; }

URL: http://www.nealgrosskopf.com/tech/thread.asp?pid=23

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.