Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<meta charset="UTF-8">
<style type="text/css">
#off-screen-preload {
position: absolute;
top: -5000px;
left: -5000px;
height: 1px;
width: 1px;
overflow: hidden;
#off-screen-preload .content-fe-sprites {
position: absolute;
height: 1px;
width: 1px;
background: url(;
<div id="off-screen-preload">
<div class="content-fe-sprites"></div>
Copy link

chrisyip commented Aug 19, 2011

how about pure js way: ?
can control image list by js not html and css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment