Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style type="text/css">
- body {
- background-color: #ffffff;
- }
- #image {
- position: absolute;
- margin: auto;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- width: 900px;
- height: 800px;
- background-image:url("Image #1 Here");
- background-size:100% 100%;
- }
- #image:hover {
- background-image:url("Rollover Image Here");
- background-size:100% 100%;
- }
- </style>
- <div id="image">
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement