Advertisement
shufee

Shufee Tab 01

Mar 15th, 2015
781
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.24 KB | None | 0 0
  1. /********************************* CSS Part **************************/
  2.  
  3. /*******************************
  4.  
  5. UPDATE TAB BY SHUFEE THEMES (@wattsons)
  6.  
  7. -Do not redestribute, claim as your own, remove the credit, move the credit
  8. -Edit how much you want but DO NOT remove the credit
  9. -Feel free to ask if you need help
  10. -Default height of the tab is 300px but you can adjust it in the last part of css code
  11.  
  12. INSTRUCTIONS:
  13.  
  14. ✓ Paste the css part of the code above |CustomCSS| ... <body>
  15.  
  16. ✓ Then paste the html part of the code under |CustomCSS| ... <body>
  17.  
  18. ✓ Type your own text in the html part
  19.  
  20. ✓ Change colors, fonts etc in css part (optional ofc)
  21.  
  22. ✓ Enjoy :)
  23.  
  24. ********************************/
  25.  
  26.  
  27. .heaven {
  28. text-decoration:none;
  29. position:fixed;
  30. width:150px;
  31. height:300px;
  32. padding-bottom:10px;
  33. font-family:arial; /** FONT **/
  34. font-size:8px;
  35. line-height:15px;
  36. z-index:999;
  37. }
  38.  
  39. .s {
  40. font-size:12px;
  41. z-index:9999;
  42. position:fixed;
  43. margin-top:20px;
  44. margin-left:23px;
  45. opacity:0;
  46. }
  47. .s a {
  48. color:#dadada;
  49. text-decoration:none;
  50. -webkit-transition: all .6s ease-in-out;
  51. -moz-transition: all .6s ease-in-out;
  52. -o-transition: all .6s ease-in-out;
  53. }
  54. .s a:hover {
  55. color:black;
  56. -webkit-transition: all .6s ease-in-out;
  57. -moz-transition: all .6s ease-in-out;
  58. -o-transition: all .6s ease-in-out;
  59. }
  60.  
  61. /** TAB'S TITLE **/
  62. .heaventitle {
  63. text-decoration:none;
  64. width:118px;
  65. margin-top:15px;
  66. margin-left:15px;
  67. padding-top:5px;
  68. padding-bottom:5px;
  69. text-align:center;
  70. font-size:11px;
  71. letter-spacing:2px;
  72. text-transform:uppercase;
  73. color:black; /** TITLE COLOR **/
  74. background:#f9f9f9; /** TITLE BACKGROUND COLOR **/
  75. outline:none;
  76. z-index:9999;
  77. }
  78.  
  79. /*** SUBTITLES ***/
  80. .subt {
  81. line-height:15px;
  82. text-transform:uppercase;
  83. color:black; /** SUBTITLES COLOR **/
  84. background:#f9f9f9; /** SUBTITLES BACKGROUND COLOR **/
  85. }
  86. /***/
  87.  
  88. .cloud {
  89. position:fixed;
  90. width:118px;
  91. height:0px;
  92. margin-top:-1px;
  93. margin-left:15px;
  94. line-height:20px;
  95. color:#6b6b6b; /** TEXT COLOR **/
  96. text-align:center;
  97. word-break:normal;
  98. background:transparent; /** BACKGROUND COLOR **/
  99. overflow:hidden;
  100. -webkit-transition: all .8s ease-in-out;
  101. -moz-transition: all .8s ease-in-out;
  102. -o-transition: all .8s ease-in-out;
  103. z-index:999;
  104. }
  105.  
  106. .heaven:hover .s {
  107. opacity:1;
  108. -webkit-transition: all .6s ease-in-out;
  109. -moz-transition: all .6s ease-in-out;
  110. -o-transition: all .6s ease-in-out;
  111. }
  112.  
  113. .heaventitle:hover .s {
  114. opacity:1;
  115. -webkit-transition: all .6s ease-in-out;
  116. -moz-transition: all .6s ease-in-out;
  117. -o-transition: all .6s ease-in-out;
  118. }
  119.  
  120.  
  121. .heaven:hover .cloud {
  122. height:300px; /** IF THE TAB IS TOO SHORT MAKE THE HEIGHT BIGGER **/
  123. -webkit-transition: all .8s ease-in-out;
  124. -moz-transition: all .8s ease-in-out;
  125. -o-transition: all .8s ease-in-out;
  126. }
  127.  
  128. .heaventitle:hover .cloud {
  129. height:300px; /** IF THE TAB IS TOO SHORT MAKE THE HEIGHT BIGGER **/
  130. -webkit-transition: all .8s ease-in-out;
  131. -moz-transition: all .8s ease-in-out;
  132. -o-transition: all .8s ease-in-out;
  133. }
  134. /*************************** End of CSS part *************************/
  135.  
  136.  
  137.  
  138. <!----------------------------- HTML Part ---------------------------->
  139. <div class="heaven">
  140. <div class="s"><a href="http://wattsons.tumblr.com">⧨</div>
  141. <div class="heaventitle">
  142.  
  143. <!--Update tab title-->Updates<!-- -->
  144.  
  145. </div>
  146. <div class="cloud">
  147. </br>
  148. <div class="subt">
  149.  
  150. <!--Subtitle 1-->Subtitle 1<!-- --></div>
  151. <!--Content 1-->this is optional<!-- -->
  152.  
  153. <div class="subt">
  154.  
  155. <!--Subtitle 1-->Subtitle 1<!-- --></div>
  156. <!-- Content 2 --> you can write <!-- -->
  157.  
  158. <div class="subt">
  159.  
  160. <!--Subtitle 1-->Subtitle 1<!-- --></div>
  161. <!-- Content 3 --> whatever you want here <!-- -->
  162.  
  163. <div class="subt">
  164.  
  165. <!--Subtitle 1-->Subtitle 1<!-- --></div>
  166. <!-- Content 4 --> and how much you want <!-- -->
  167.  
  168. </div>
  169. </div>
  170. <!---------------------------- End of HTML part ---------------------->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement