Advertisement
HouseMXD

Spider CSS

Dec 14th, 2018
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Abel');
  2. @import url('https://fonts.googleapis.com/css?family=Unica+One');
  3.  
  4. body {
  5. background-color: #070707;
  6. background-image: url("https://www.transparenttextures.com/patterns/brilliant.png");
  7. background-size: 0.24%;
  8. }
  9.  
  10. .main {
  11. position: absolute;
  12. left: 50%;
  13. top: 50%;
  14. transform: translate(-50%,-50%);
  15. height: 10vw;
  16. width: 10vw;
  17. outline: 0.1vw solid #F8F8F8;
  18. }
  19.  
  20. .spider{
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. height: 10vw;
  25. width: 10vw;
  26. background-image: url("https://i.imgur.com/jbVozWD.gif");
  27. background-size: cover;
  28. }
  29.  
  30. .panel {
  31. position: absolute;
  32. left: 0;
  33. top: 0;
  34. height: 10vw;
  35. width: 10vw;
  36. opacity: 0;
  37. z-index: -1;
  38. background-color: #070707;
  39. }
  40.  
  41. .panel:target {
  42. position: absolute;
  43. left: 0;
  44. top: 0;
  45. height: 10vw;
  46. width: 10vw;
  47. opacity: 1;
  48. z-index: 99;
  49.  
  50. }
  51.  
  52. .text {
  53. font-family: 'Abel', sans-serif;
  54. font-size: 0.9vw;
  55. padding: 6%;
  56. color: #F8F8F8;
  57. text-align: justify;
  58. text-justify: inter-word;
  59. }
  60.  
  61. .star{
  62. position: absolute;
  63. left: 0;
  64. top: 0;
  65. height: 10vw;
  66. width: 10vw;
  67. outline: 0.1vw solid #F8F8F8;
  68. background-color: #070707;
  69. z-index: -1;
  70. transform: rotate(-45deg);
  71. }
  72.  
  73. .righttab {
  74. position: absolute;
  75. bottom: 0;
  76. right: 0;
  77. width: 0;
  78. height: 0;
  79. border-bottom: 3vw solid #070707;
  80. border-left: 3vw solid transparent;
  81. transition: 0.5s;
  82. }
  83.  
  84. .righttab:hover {
  85. border-bottom: 3vw solid #F8F8F8;
  86. }
  87.  
  88. .bottab {
  89. position: absolute;
  90. bottom: 0;
  91. left: 0;
  92. width: 0;
  93. height: 0;
  94. border-bottom: 3vw solid #070707;
  95. border-right: 3vw solid transparent;
  96. transition: 0.5s;
  97. }
  98.  
  99. .bottab:hover {
  100. border-bottom: 3vw solid #F8F8F8;
  101. }
  102.  
  103. .toptab {
  104. position: absolute;
  105. top: 0;
  106. right: 0;
  107. width: 0;
  108. height: 0;
  109. border-top: 3vw solid #070707;
  110. border-left: 3vw solid transparent;
  111. transition: 0.5s;
  112. }
  113.  
  114. .toptab:hover {
  115. border-top: 3vw solid #F8F8F8;
  116. }
  117.  
  118. .lefttab {
  119. position: absolute;
  120. top: 0;
  121. left: 0;
  122. width: 0;
  123. height: 0;
  124. border-top: 3vw solid #070707;
  125. border-right: 3vw solid transparent;
  126. transition: 0.5s;
  127. }
  128.  
  129. .lefttab:hover {
  130. border-top: 3vw solid #F8F8F8;
  131. }
  132.  
  133. .rightline {
  134. position: absolute;
  135. left: 100%;
  136. top: 50%;
  137. width: 0vw;
  138. background-color: #F8F8F8;
  139. height: 0.05vw;
  140. z-index: -2;
  141. animation: extendh 1.75s;
  142. animation-fill-mode: forwards;
  143. }
  144.  
  145. .topline {
  146. position: absolute;
  147. left: 50%;
  148. bottom: 100%;
  149. width: 0.05vw;
  150. background-color: #F8F8F8;
  151. height: 0vw;
  152. z-index: -2;
  153. animation: extendv 1.75s;
  154. animation-fill-mode: forwards;
  155. }
  156.  
  157. .botline {
  158. position: absolute;
  159. left: 50%;
  160. top: 100%;
  161. width: 0.05vw;
  162. background-color: #F8F8F8;
  163. height: 0vw;
  164. z-index: -2;
  165. animation: extendv 1.75s;
  166. animation-fill-mode: forwards;
  167. }
  168.  
  169. .leftline{
  170. position: absolute;
  171. right: 100%;
  172. top: 50%;
  173. width:0vw;
  174. background-color: #F8F8F8;
  175. height: 0.05vw;
  176. z-index: -2;
  177. animation: extendh 1.75s;
  178. animation-fill-mode: forwards;
  179. }
  180.  
  181. @keyframes extendv {
  182. from {height: 0vw;}
  183. to {height: 6vw;}
  184. }
  185.  
  186. @keyframes extendh {
  187. from {width: 0vw;}
  188. to {width: 6vw;}
  189. }
  190.  
  191. .tablabelt {
  192. position: absolute;
  193. left: 0%;
  194. top: 0%;
  195. transform: translate(-50%, -100%);
  196. height: 2vw;
  197. width: 4vw;
  198. opacity: 0;
  199. animation: reveal 0.5s 1.85s;
  200. animation-fill-mode: forwards;
  201. font-family: 'Unica One', cursive;
  202. font-size: 1.75vw;
  203. color: #F8F8F8;
  204.  
  205. }
  206.  
  207.  
  208. .tablabelr {
  209. position: absolute;
  210. right: 0%;
  211. top: 50%;
  212. transform: translate(107.5%, -50%);
  213. height: 2vw;
  214. width: 4vw;
  215. opacity: 0;
  216. animation: reveal 0.5s 1.85s;
  217. animation-fill-mode: forwards;
  218. font-family: 'Unica One', cursive;
  219. font-size: 1.75vw;
  220. color: #F8F8F8;
  221. }
  222.  
  223. .tablabelb {
  224. position: absolute;
  225. left: 0%;
  226. bottom: 0%;
  227. transform: translate(-50%, 100%);
  228. height: 2vw;
  229. width: 9vw;
  230. opacity: 0;
  231. animation: reveal 0.5s 1.85s;
  232. animation-fill-mode: forwards;
  233. font-family: 'Unica One', cursive;
  234. font-size: 1.75vw;
  235. color: #F8F8F8;
  236. }
  237.  
  238. .tablabell {
  239. position: absolute;
  240. left: 0%;
  241. top: 50%;
  242. transform: translate(-107.5%, -50%);
  243. height: 2vw;
  244. width: 4vw;
  245. opacity: 0;
  246. animation: reveal 0.5s 1.85s;
  247. animation-fill-mode: forwards;
  248. font-family: 'Unica One', cursive;
  249. font-size: 1.75vw;
  250. color: #F8F8F8;
  251. }
  252.  
  253. @keyframes reveal {
  254. from {opacity: 0;}
  255. to {opacity: 1;}
  256. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement