Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. <div class="snote">
  2. <ul>
  3. <li>
  4. <a href="#LINK 1">
  5. <h2>Gift #1</h2><hr />
  6. <p>Beschrijving</p>
  7. </a>
  8. </li>
  9. <li>
  10. <a href="#LINK 2">
  11. <h2>Gift #1</h2><hr />
  12. <p>Beschrijving</p>
  13. </a>
  14. </li>
  15. <li>
  16. <a href="#LINK 3">
  17. <h2>Gift #1</h2><hr />
  18. <p>Beschrijving</p>
  19. </a>
  20. </li>
  21. <li>
  22. <a href="#LINK 4">
  23. <h2>Gift #1</h2><hr />
  24. <p>Beschrijving</p>
  25. </a>
  26. </li>
  27. <li>
  28. <a href="#LINK 5">
  29. <h2>Gift #1</h2><hr />
  30. <p>Beschrijving</p>
  31. </a>
  32. </li>
  33. </ul>
  34. </div>
  35. <link href='http://fonts.googleapis.com/css?family=Oswald:300' rel='stylesheet' type='text/css'>
  36. <link href='http://fonts.googleapis.com/css?family=Shadows+Into+Light+Two' rel='stylesheet' type='text/css'>
  37. <style>
  38. .snote{
  39. max-width:100%;
  40. }
  41.  
  42. .snote h2,p{
  43. font-size:100%;
  44. font-weight:normal;
  45. }
  46.  
  47. .snote ul,li{
  48. list-style:none;
  49. }
  50.  
  51. .snote ul{
  52. overflow:hidden;
  53. padding:3em;
  54. }
  55.  
  56. .snote ul li a{
  57. text-decoration:none;
  58. color:#000;
  59. background:#ffc;
  60. display:block;
  61. height:15em;
  62. width:12em;
  63. padding:1em;
  64. -moz-box-shadow:5px 5px 7px rgba(33,33,33,1);
  65. -webkit-box-shadow: 5px 5px 7px rgba(33,33,33,.7);
  66. box-shadow: 5px 5px 7px rgba(33,33,33,.7);
  67. -webkit-transform:rotate(-6deg);
  68. -o-transform:rotate(-6deg);
  69. -moz-transform:rotate(-6deg);
  70. -moz-transition:-moz-transform .15s linear;
  71. -o-transition:-o-transform .15s linear;
  72. -webkit-transition:-webkit-transform .15s linear;
  73. }
  74.  
  75. .snote ul li:nth-child(even) a{
  76. -o-transform:rotate(4deg);
  77. -webkit-transform:rotate(4deg);
  78. -moz-transform:rotate(4deg);
  79. position:relative;
  80. top:5px;
  81. background:#cfc;
  82. }
  83.  
  84. .snote ul li:nth-child(3n) a{
  85. -o-transform:rotate(-3deg);
  86. -webkit-transform:rotate(-3deg);
  87. -moz-transform:rotate(-3deg);
  88. position:relative;
  89. top:-5px;
  90. background:#ccf;
  91. }
  92.  
  93. .snote ul li:nth-child(5n) a{
  94. -o-transform:rotate(5deg);
  95. -webkit-transform:rotate(5deg);
  96. -moz-transform:rotate(5deg);
  97. position:relative;
  98. top:-10px;
  99. background:#fcf;
  100. }
  101.  
  102. .snote ul li a:hover,ul li a:focus{
  103. -moz-box-shadow:10px 10px 7px rgba(0,0,0,.7);
  104. -webkit-box-shadow: 10px 10px 7px rgba(0,0,0,.7);
  105. box-shadow:10px 10px 7px rgba(0,0,0,.7);
  106. -webkit-transform: scale(1.25);
  107. -moz-transform: scale(1.25);
  108. -o-transform: scale(1.25);
  109. position:relative;
  110. z-index:5;
  111. }
  112.  
  113. .snote ul li{
  114. float:left;
  115. }
  116.  
  117. .snote ul li h2{
  118. font-size:160%;
  119. font-weight:bold;
  120. padding-bottom:0px;
  121. font-family:Oswald;
  122. text-align:center;
  123. color:#000;
  124. }
  125.  
  126. .snote ul li p{
  127. font-family:'Shadows Into Light Two',arial,sans-serif;
  128. font-size:140%;
  129. color:#000;
  130. }
  131. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement