Advertisement
water-nymph

GUAVA // code

Sep 27th, 2019
452
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.50 KB | None | 0 0
  1. [nobr][div class=container]
  2. [div class=hold][div class=img][/div] [div class=name][font=Abril Fatface]u-username[/font]
  3. [div class=smaller][div class=overflow style="padding-right: 20px"]mood: haha | mentions: blah | outfit: yes | tags: you and you[/div][/div][/div]
  4.  
  5. [div class=follow]follow[/div][/div]
  6. [div class=center][div class=moodboard]
  7.  
  8. [div class=aesthe style="background-size: 200%"][/div] / / [div class=aesthe style="background-image: url(http://66.media.tumblr.com/5287ab4df34d902f3fa59d7589d104d3/tumblr_ptvkgsfupr1xzphw6o1_540.jpg)"][/div] / / [div class=aesthe style="background-image: url(http://66.media.tumblr.com/632102e391a1f28af507d8b2a910bc3e/tumblr_orxchwxHuy1w89l25o8_250.jpg)"][/div]
  9.  
  10.  
  11. [br][/br]
  12.  
  13.  
  14. [div class=aesthe style="background-image: url(http://i.pinimg.com/originals/bf/08/59/bf08591bc5b156c08097a5e0693bba56.jpg)"][/div] / / [div class=aesthe style="background-image: url(http://66.media.tumblr.com/48b3fb480f6324dd8c5175118f1208b3/tumblr_om2ccf7Z8y1w7143lo1_250.jpg)"][/div] / / [div class=aesthe style="background-image: url(http://www.substance.cc/wp-content/uploads/2016/03/inspiration-9.jpg)"][/div]
  15. [/div]
  16.  
  17. [div class=text][div class=overflow][font=Work Sans]
  18. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
  19. [/font][/div][/div]
  20. [/div][/div]
  21. [div class=c]code by: @undine[/div]
  22.  
  23. [class=container]height: 400px;
  24. max-width: 350px;
  25. padding: 15px;
  26. background: #e1e1e1;
  27. margin: auto;
  28. --button: #ff7676;
  29. --active: #303030
  30. [/class]
  31.  
  32. [class=hold]height: 23%;
  33. width: 91%;
  34. padding: 5%;
  35. top: 0%;
  36. position: relative;
  37. background: white;
  38. border-radius: 7px;
  39. margin: auto;
  40. filter: grayscale(20%);
  41. [/class]
  42.  
  43. [class=name]display: inline-block; font-size: 16px; font-weight: bold; position: relative; top: -4vw; left: 5%; transition: 0.8s
  44. [/class]
  45.  
  46. [class=smaller]font-size: 8px; color: #909090; font-weight: 600; font-smoothing: antialiased; height: 27px; width: 120px; overflow: hidden
  47. [/class]
  48.  
  49. [class=img]height: 99%;
  50. width: 28%;
  51. display: inline-block;
  52. background-image: url(https://66.media.tumblr.com/9aee6664f78acdb5d283046aff8ee07b/717053cced66cc58-8a/s640x960/c11b4d24f651ed80002608cc75f98258ebf935de.jpg);
  53. background-size: 140%;
  54. background-position: 10% 25%;
  55. filter: grayscale(5%) saturate(90%);
  56. border-radius: 50%;
  57. border: 2px solid var(--button);
  58. cursor: pointer
  59. [/class]
  60.  
  61. [class=follow]height: 2; width: 50px; padding: 2px; font-size: 10px; background: var(--button); border-radius: 3px; color: white; text-transform: uppercase; text-align: center; position: relative; top: 40%; float: right; transition: 0.5s
  62. [/class]
  63.  
  64. [class name=follow state=hover]background: var(--active); cursor: pointer
  65. [/class]
  66.  
  67. [class name=black]background: var(--active)
  68. [/class]
  69.  
  70. [class name=blackt]color: var(--active)
  71. [/class]
  72.  
  73. [class name=pink]color: var(--button)
  74. [/class]
  75.  
  76. [class=center]height: 57%;
  77. width: 89%;
  78. padding: 3%;
  79. top: 5%;
  80. position: relative;
  81. background: white;
  82. border-radius: 7px;
  83. margin: auto;
  84. overflow: hidden;
  85. text-align: center
  86. [/class]
  87.  
  88. [class=moodboard]height: 100%;
  89. width: 100%;
  90. color: transparent;
  91. font-size: 19px;
  92. z-index: 5;
  93. overflow: hidden;
  94. line-height: 85px;
  95. position: relative;
  96. top: 4%;
  97. transition: 0.5s
  98. [/class]
  99.  
  100. [class=high]top: -7%
  101. [/class]
  102.  
  103. [class=low]top: 4%
  104. [/class]
  105.  
  106. [class=overflow]height: 100%; width: 100%; overflow: auto; padding-left: 2px; padding-right: 30px
  107. [/class]
  108.  
  109. [class=aesthe]display: inline-block; border-radius: 4px; height: 36%; width: 25%; background-image: url(https://66.media.tumblr.com/77155359eb8ddd86a85754dd11950737/tumblr_pgca2tPEmw1xbklp6o1_250.png);
  110. background-size: cover;
  111. [/class]
  112.  
  113. [class=text]height: 65%; width: 100%; font-size: 0.7em; text-align: justify; opacity: 0; overflow: hidden; transition: 0.4s
  114. [/class]
  115.  
  116. [class=vis]opacity: 1
  117. [/class]
  118.  
  119. [class=c]width: 100%; font-size: 10px; opacity: 0; text-align: center
  120. [/class]
  121.  
  122. [script class=follow on=click]
  123. addClass black follow
  124. addClass up moodboard
  125. removeClass down moodboard
  126. addClass high moodboard
  127. removeClass low moodboard
  128. addClass pink name
  129. removeClass blackt name
  130. addClass vis text
  131. [/script]
  132.  
  133. [script class=img on=click]
  134. removeClass black follow
  135. removeClass up moodboard
  136. addClass down moodboard
  137. removeClass high moodboard
  138. addClass low moodboard
  139. addClass blackt name
  140. removeClass pink name
  141. removeClass vis text
  142. [/script]
  143.  
  144. [class name=up]
  145. animation-name: {post_id}up;
  146. animation-direction: normal;
  147. animation-duration: 1.5s;
  148. animation-delay: 0s;
  149. animation-timing-function: ease-out;
  150. animation-iteration-count: 1;
  151. animation-fill-mode: both;
  152. [/class]
  153.  
  154. [animation=up]
  155. [keyframe=0]height: 100%[/keyframe]
  156. [keyframe=100]height: 30%;[/keyframe]
  157. [/animation]
  158.  
  159. [class name=down]
  160. animation-name: {post_id}down;
  161. animation-direction: normal;
  162. animation-duration: 1.5s;
  163. animation-delay: 0s;
  164. animation-timing-function: ease-out;
  165. animation-iteration-count: 1;
  166. animation-fill-mode: both;
  167. [/class]
  168.  
  169. [animation=down]
  170. [keyframe=0]height: 30%[/keyframe]
  171. [keyframe=100]height: 100%[/keyframe]
  172. [/animation][/nobr]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement