Advertisement
Falkstids

Snake code

Sep 14th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Unica+One');
  2.  
  3. body{
  4. background-color:#000;
  5. overflow:hidden;
  6. }
  7.  
  8. #overlay1{
  9. width:10vw;
  10. height:100vh;
  11. background-color:#1E2422;
  12. position:absolute;
  13. right:0vw;
  14. background-image:url(https://pre00.deviantart.net/76e9/th/pre/f/2010/186/1/a/camo_pattern_2_by_master_at_arms.png);
  15.  
  16. transition:2s;
  17. }
  18.  
  19. #solidsnake{
  20. background-image:url(http://i.picpar.com/PUVc.png);
  21. background-size:100%;
  22. height:100vh;
  23. width:35vw;
  24. background-repeat:no-repeat;
  25. position:absolute;
  26. left:0vw;
  27.  
  28. }
  29.  
  30. .tab1 a{
  31. width:5vh;
  32. height:100vh;
  33. background-color:#1E2422;
  34. box-shadow:0px 0px 10px 0px #000;
  35. display:block;
  36. position:absolute;
  37. right:7.5vw;
  38. background-image:url(https://pre00.deviantart.net/76e9/th/pre/f/2010/186/1/a/camo_pattern_2_by_master_at_arms.png);
  39. text-decoration:none;
  40. }
  41.  
  42. #blanket1:target .tab1 a{
  43. right:97.5vw;
  44. transition:2s;
  45. }
  46.  
  47. #blanket1:target .tab2 a{
  48. right:5vw;
  49. transition:2s;
  50. z-index:98;
  51. }
  52.  
  53. #blanket1:target .tab3 a{
  54. right:2.5vw;
  55. transition:2s;
  56. z-index:97;
  57. }
  58.  
  59. #blanket1:target .tab4 a{
  60. right:0vw;
  61. transition:2s;
  62. z-index:96;
  63. }
  64. #blanket1:target #overlay1{
  65. width:100vw;
  66. }
  67.  
  68. #overlay2{
  69. width:7.5vw;
  70. height:100vh;
  71. background-color:#6F0B0B;
  72. position:absolute;
  73. right:0vw;
  74. background-image:url(https://pre00.deviantart.net/488b/th/pre/f/2010/186/a/d/camo_pattern_4_by_master_at_arms.png);
  75. transition:2s;
  76. }
  77. .tab2 a{
  78. width:5vh;
  79. height:100vh;
  80. background-color:#6F0B0B;
  81. box-shadow:0px 0px 10px 0px #000;
  82. display:block;
  83. position:absolute;
  84. right:5vw;
  85. background-image:url(https://pre00.deviantart.net/488b/th/pre/f/2010/186/a/d/camo_pattern_4_by_master_at_arms.png);
  86.  
  87. }
  88.  
  89. #blanket2:target .tab1 a{
  90. right:97.5vw;
  91. transition:2s;
  92. z-index:99;
  93. }
  94.  
  95. #blanket2:target .tab2 a{
  96. right:95vw;
  97. transition:2s;
  98. z-index:98;
  99. }
  100.  
  101. #blanket2:target .tab3 a{
  102. right:2.5vw;
  103. transition:2s;
  104. z-index:97;
  105. }
  106.  
  107. #blanket2:target .tab4 a{
  108. right:0vw;
  109. transition:2s;
  110. z-index:96;
  111. }
  112.  
  113. #blanket2:target #overlay1{
  114. width:100vw;
  115. }
  116. #blanket2:target #overlay2{
  117. width:97.5vw;
  118.  
  119. }
  120.  
  121. #blanket2:target #overlay3{
  122. width:5vw;
  123. }
  124.  
  125. #blanket2:target #overlay4{
  126. width:2.5vw;
  127.  
  128. }
  129.  
  130.  
  131.  
  132. #overlay3{
  133. width:5vw;
  134. height:100vh;
  135. background-color:#7a6246;
  136. position:absolute;
  137. right:0vw;
  138. background-image:url(https://www.transparenttextures.com/patterns/subtle-carbon.png);
  139. transition:2s;
  140. }
  141.  
  142. .tab3 a{
  143. width:5vh;
  144. height:100vh;
  145. background-color:#7a6246;
  146. box-shadow:0px 0px 10px 0px #000;
  147. display:block;
  148. position:absolute;
  149. right:2.5vw;
  150. background-image:url(https://www.transparenttextures.com/patterns/subtle-carbon.png);
  151. }
  152.  
  153. #blanket3:target .tab1 a{
  154. right:97.5vw;
  155. transition:2s;
  156. z-index:99;
  157. }
  158.  
  159. #blanket3:target .tab2 a{
  160. right:95vw;
  161. transition:2s;
  162. z-index:98
  163. }
  164.  
  165. #blanket3:target .tab3 a{
  166. right:92.5vw;
  167. transition:2s;
  168. z-index:97;
  169. }
  170.  
  171.  
  172. #blanket3:target .tab4 a{
  173. right:0vw;
  174. transition:2s;
  175. z-index:96;
  176. }
  177.  
  178. #blanket3:target #overlay1{
  179. width:100vw;
  180. }
  181. #blanket3:target #overlay2{
  182. width:97.5vw;
  183.  
  184. }
  185.  
  186. #blanket3:target #overlay3{
  187. width:95vw;
  188. }
  189.  
  190. #blanket3:target #overlay4{
  191. width:2.5vw;
  192.  
  193. }
  194.  
  195. #overlay4{
  196. width:2.5vw;
  197. height:100vh;
  198. background-color:#1F2630;
  199. position:absolute;
  200. right:0vw;
  201. background-image:url(https://www.transparenttextures.com/patterns/subtle-carbon.png);
  202. transition:2s;
  203. }
  204.  
  205. .tab4 a{
  206. width:5vh;
  207. height:100vh;
  208. background-color:#1F2630;
  209. box-shadow:0px 0px 10px 0px #000;
  210. display:block;
  211. position:absolute;
  212. right:0vw;
  213. background-image:url(https://www.transparenttextures.com/patterns/subtle-carbon.png);
  214. }
  215.  
  216. #blanket4:target .tab1 a{
  217. right:97.5vw;
  218. transition:2s;
  219. z-index:99;
  220. }
  221.  
  222. #blanket4:target .tab2 a{
  223. right:95vw;
  224. transition:2s;
  225. z-index:98
  226. }
  227.  
  228. #blanket4:target .tab3 a{
  229. right:92.5vw;
  230. transition:2s;
  231. z-index:97;
  232. }
  233.  
  234. #blanket4:target .tab4 a{
  235. right:90vw;
  236. transition:2s;
  237. z-index:96;
  238. }
  239.  
  240. #blanket4:target #overlay1{
  241. width:100vw;
  242. }
  243. #blanket4:target #overlay2{
  244. width:97.5vw;
  245.  
  246. }
  247.  
  248. #blanket4:target #overlay3{
  249. width:95vw;
  250. }
  251.  
  252. #blanket4:target #overlay4{
  253. width:92.5vw;
  254.  
  255. }
  256.  
  257. .text{
  258. text-align:center;
  259. font-size:3vw;
  260. color:#fff;
  261. font-family: 'Unica One', cursive;
  262. text-decoration:none;
  263. text-orientation: upright ;
  264. position:absolute;
  265. top:15vh;
  266. transition:1s;
  267. line-height:5vh;
  268. }
  269.  
  270. .tab1 a:hover .text{
  271. line-height:8vh;
  272. }
  273.  
  274. .tab2 a:hover .text{
  275. line-height:8vh;
  276. }
  277. .tab3 a:hover .text{
  278. line-height:8vh;
  279. }
  280. .tab4 a:hover .text{
  281. line-height:8vh;
  282. }
  283.  
  284. <div id="blanket1"><div id="blanket2"><div id="blanket3"><div id="blanket4">
  285. <div id="overlay1">
  286.  
  287. </div>
  288.  
  289. <div id="overlay2">
  290.  
  291. </div>
  292.  
  293. <div id="overlay3">
  294. <div id="solidsnake">
  295. </div>
  296. </div>
  297.  
  298. <div id="overlay4">
  299.  
  300. </div>
  301. <div class="tab1">
  302. <a href="#blanket1">
  303. <div class="text"> N A K E D S N A K E</div>
  304. </a>
  305. </div>
  306. <div class="tab2">
  307. <a href="#blanket2">
  308. <div class="text"> V E N O M S N A K E </div>
  309. </a>
  310. </div>
  311. <div class="tab3">
  312. <a href="#blanket3">
  313. <div class="text"> s o l <br> i d s n a k e </div>
  314. </a>
  315. </div>
  316. <div class="tab4">
  317. <a href="#blanket4">
  318. <div class="text"> O L D S N A K E </div>
  319. </a>
  320. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement