Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. <ul>
  2. <li class="container one"><a href=""></a></li>
  3. <li class="container two"><a href=""></a></li>
  4. <li class="container three"><a href=""></a></li>
  5. <li class="container four"><a href=""></a></li>
  6. </ul>
  7.  
  8.  
  9.  
  10.  
  11.  
  12. <style type="text/css">
  13.  
  14. .container {
  15. width:110px;
  16. border:6px double #000;
  17. margin:174px auto;
  18. }
  19. .container a {
  20. display:block;
  21. width:110px;
  22. height:500px;
  23. background-image:url(images/sites.jpg);
  24. }
  25.  
  26. .one { background-position: 0px 500px; }
  27. .one:hover { background-position: 0px 0px; }
  28.  
  29. .two { background-position: 75px 500px; }
  30. .two:hover { background-position: 0px 0px; }
  31.  
  32. .three { background-position: 150px 500px; }
  33. .three:hover { background-position: 0px 0px; }
  34.  
  35. .four { background-position: 225px 500px; }
  36. .four:hover { background-position: 0px 0px; }
  37.  
  38. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement