Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. <style>
  2. @font-face {
  3. font-family: bad;
  4. src: url('https://dl.dropboxusercontent.com/s/9jzwa8cc6qnndzn/BADABB__.TTF?dl=0')
  5. }
  6.  
  7.  
  8. body {
  9. background-color: #48a4d6;
  10. background-image: url("https://www.transparenttextures.com/patterns/60-lines.png");
  11. }
  12.  
  13. .trick {
  14. position: absolute;
  15. bottom: 0%;
  16. right: 0%;
  17. height: 30.2vw;
  18. width: 14.5vw;
  19. background: url('https://images2.imgbox.com/1d/74/Qe8d4aee_o.png') no-repeat;
  20. background-size: 100%;
  21. transition: ease 1s;
  22. transition-delay: 1s;
  23. opacity: 1;
  24. }
  25.  
  26. *:hover .trick {
  27. transition: ease 1s;
  28. transition-delay: 1s;
  29. opacity: 0;
  30. }
  31.  
  32. .text1 {
  33. position: absolute;
  34. bottom: 0%;
  35. left: 1%;
  36. font-family: bad;
  37. font-size: 100px;
  38. color: #FFEB00;
  39. text-align: left;
  40. letter-spacing: ;
  41. line-height: 80px;
  42. text-shadow: -1px 0 #C80000, 0 1px #C80000,1px 0 #C80000, 0 -1px #C80000;
  43.  
  44. }
  45.  
  46.  
  47. .mainbox {
  48. position: absolute;
  49. bottom: 2%;
  50. right: 30%;
  51. height: 18vw;
  52. width: 30vw;
  53. background: #e6cc19;
  54. transition: ease 1s;
  55. transition-delay: 1s;
  56. opacity: 1;}
  57.  
  58.  
  59. *:hover .mainbox {
  60. transition: ease 1s;
  61. transition-delay: 1s;
  62. opacity: 1;
  63.  
  64. }
  65.  
  66. .img {
  67. position: absolute;
  68. top: 0%;
  69. right: -60%;
  70. height: 12vw;
  71. width: 30vw;
  72. background: url('https://images2.imgbox.com/cd/ff/KdAwUhGX_o.png') no-repeat;
  73. background-size: 100%;
  74. filter: drop-shadow(10px 0px #e6cc19);
  75.  
  76. }
  77.  
  78.  
  79. .one {
  80. position: absolute;
  81. top: 0%;
  82. left: 0%;
  83. width: 20vw;
  84. height: 3vw;
  85. margin-left: 2vw;
  86. margin-top: 1%;
  87. background-image: url('http://i.picpar.com/MVce.png');
  88. background-size: 55px;
  89. background-repeat: no-repeat;
  90. }
  91.  
  92. .two {
  93. position: absolute;
  94. top: 0%;
  95. left: 10%;
  96. width: 20vw;
  97. height: 3vw;
  98. margin-left: 2vw;
  99. margin-top: 1%;
  100. background-image: url('http://i.picpar.com/MVce.png');
  101. background-size: 55px;
  102. background-repeat: no-repeat;
  103. }
  104.  
  105. .three {
  106. position: absolute;
  107. top: 0%;
  108. left: 20%;
  109. width: 20vw;
  110. height: 3vw;
  111. margin-left: 2vw;
  112. margin-top: 1%;
  113. background-image: url('http://i.picpar.com/MVce.png');
  114. background-size: 55px;
  115. background-repeat: no-repeat;
  116. }
  117.  
  118. .four {
  119. position: absolute;
  120. top: 0%;
  121. left: 30%;
  122. width: 20vw;
  123. height: 3vw;
  124. margin-left: 2vw;
  125. margin-top: 1%;
  126. background-image: url('http://i.picpar.com/MVce.png');
  127. background-size: 55px;
  128. background-repeat: no-repeat;
  129. }
  130.  
  131.  
  132. .info {
  133. width: 10vw;
  134. height: 10vw;
  135. background-color: #fff;
  136. opacity: 0;
  137. position: absolute;
  138. left: 3%;
  139. top: 30%;
  140. }
  141.  
  142. .info:target {
  143. opacity: 1;
  144. transition: 1s ease all;
  145. }
  146.  
  147. ::-webkit-scrollbar {
  148. width: 0px;
  149. height: 0px;
  150. background:;
  151. }
  152.  
  153. ::-webkit-scrollbar-thumb {
  154. background-color:#f7e1ed;
  155. border:1px solid #c05c79;
  156. -webkit-border-radius: 10px;
  157. border-radius: 10px;
  158. }
  159.  
  160.  
  161.  
  162.  
  163. </style>
  164.  
  165.  
  166. <div class="trick"></div>
  167. <div class="mainbox">
  168. <div class="img"></div>
  169.  
  170.  
  171. <a class='one' href='#one'></a>
  172. <a class='two' href='#two'></a>
  173. <a class='three' href='#three'></a>
  174. <a class='four' href='#four'></a>
  175.  
  176. <div class="info" id="one">
  177. test
  178. </div>
  179.  
  180. <div class="info" id="two">
  181. test2
  182. </div>
  183.  
  184. <div class="info" id="three">
  185. test3
  186. </div>
  187.  
  188. <div class="info" id="four">
  189. test4
  190. </div>
  191.  
  192.  
  193. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement