Advertisement
Guest User

Fade pages

a guest
Mar 1st, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. <style type="text/css">
  2. .detail {
  3. background-color: #000000;
  4. width: 400px;
  5. height:250px;
  6. right:50px;
  7. top:21px;
  8. opacity: 0;
  9. overflow: auto;
  10. padding: 5px;
  11. position: fixed;
  12. -webkit-transition: all 0.2s ease-in;
  13. -moz-transition: all 0.2s ease-in;
  14. -ms-transition: all 0.2s ease-in;
  15. -o-transition: all 0.2s ease-in;
  16. transition: all 0.2s ease-in;
  17. }
  18.  
  19. .detail:target {
  20. opacity: 1;
  21. }
  22. </style>
  23.  
  24. <div id="one" class="detail">
  25. Here is some information. Blahblahblah.
  26. </div>
  27.  
  28. <div id="two" class="detail">
  29. Here is some information. Blahblahblah.
  30. </div>
  31.  
  32. <div id="three" class="detail">
  33. Here is some information. Blahblahblah.
  34. </div>
  35.  
  36. <div id="four" class="detail">
  37. Here is some information. Blahblahblah.
  38. </div>
  39.  
  40. <div id="five" class="detail">
  41. Here is some information. Blahblahblah.
  42. </div>
  43.  
  44.  
  45.  
  46. <a href="#one">1</a>
  47.  
  48. <a href="#two">2</a>
  49.  
  50. <a href="#three">3</a>
  51.  
  52. <a href="#four">4</a>
  53.  
  54. <a href="#five">5</a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement