Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head><title>Image Sprites</title>
- <style type="text/css">
- img.sprite
- {
- width:46px;
- height:44px;
- background:url(image.gif) 0px 0px;
- }
- .sprite:hover{background: url(image.gif) 0px 44px;}
- </style>
- </head>
- <body>
- <img class="sprite" src="trans.gif" />
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement