Advertisement
trenzalours

tab base code

May 22nd, 2014
1,606
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.70 KB | None | 0 0
  1. <!---UPDATES TAB STRUCTURE BASE CODE CREATED BY TRENZALOURS
  2. _________________You don't have to credit me to use this! _______________ ______Get creative and start making some bangin updates tabs!________
  3.  
  4. Obviously this is a BASE and doesnt have much fun or flair. I use google for fun transitions and way to make it your own.
  5.  
  6. Have fun!--->
  7.  
  8.  
  9. <!--CSS customization here. -->
  10.  
  11. <style type="text/css">
  12.  
  13. #tab01{ /*This is the customization of EACH tab*/
  14. margin-bottom:5px;
  15. padding-left:4px;
  16. height:14px;
  17. text-align:center;
  18. overflow:hidden;
  19. margin-top:1px1px;
  20. text-transform:uppercase;
  21. letter-spacing:1px;
  22. font-size:10px;
  23. line-height:10px;
  24. z-index:0;
  25. -webkit-transition: all 0.7s ease-in-out;
  26. -moz-transition: all 0.7s ease-in-out;
  27. -o-transition: all 0.7s ease-in-out;
  28. }
  29. #tab01:hover{/*This is the customization of the tabs HOVER*/
  30. height:120px; /*how long the tab slides down. To try new transitions and stuff I always just google how to do stuff. You can adjust the transitions by scale, opacity, color, rotation, etc. Google is your friend!*/
  31. -webkit-transition: all 0.7s ease-in-out;
  32. -moz-transition: all 0.7s ease-in-out;
  33. -o-transition: all 0.7s ease-in-out;
  34. }
  35.  
  36. #tab02{ /*This is the customization of EACH tab*/
  37. margin-bottom:5px;
  38. padding-left:4px;
  39. height:14px;
  40. text-align:center;
  41. overflow:hidden;
  42. text-transform:uppercase;
  43. letter-spacing:1px;
  44. font-size:10px;
  45. line-height:10px;
  46. z-index:0;
  47. -webkit-transition: all 0.7s ease-in-out;
  48. -moz-transition: all 0.7s ease-in-out;
  49. -o-transition: all 0.7s ease-in-out;
  50. }
  51. #tab02:hover{/*This is the customization of the tabs HOVER*/
  52. height:120px; /*how long the tab slides down. To try new transitions and stuff I always just google how to do stuff. You can adjust the transitions by scale, opacity, color, rotation, etc. Google is your friend!*/
  53. -webkit-transition: all 0.7s ease-in-out;
  54. -moz-transition: all 0.7s ease-in-out;
  55. -o-transition: all 0.7s ease-in-out;
  56. }
  57.  
  58. #tab03{ /*This is the customization of EACH tab*/
  59. margin-bottom:5px;
  60. padding-left:4px;
  61. height:14px;
  62. text-align:center;
  63. overflow:hidden;
  64. text-transform:uppercase;
  65. letter-spacing:1px;
  66. font-size:10px;
  67. line-height:10px;
  68. z-index:0;
  69. -webkit-transition: all 0.7s ease-in-out;
  70. -moz-transition: all 0.7s ease-in-out;
  71. -o-transition: all 0.7s ease-in-out;
  72. }
  73. #tab03:hover{/*This is the customization of the tabs HOVER*/
  74. height:120px; /*how long the tab slides down. To try new transitions and stuff I always just google how to do stuff. You can adjust the transitions by scale, opacity, color, rotation, etc. Google is your friend!*/
  75. -webkit-transition: all 0.7s ease-in-out;
  76. -moz-transition: all 0.7s ease-in-out;
  77. -o-transition: all 0.7s ease-in-out;
  78. }
  79. #tab04{ /*This is the customization of EACH tab*/
  80. margin-bottom:5px;
  81. padding-left:4px;
  82. height:14px;
  83. text-align:center;
  84. overflow:hidden;
  85. margin-top:1px1px;
  86. text-transform:uppercase;
  87. letter-spacing:1px;
  88. font-size:10px;
  89. line-height:10px;
  90. z-index:0;
  91. -webkit-transition: all 0.7s ease-in-out;
  92. -moz-transition: all 0.7s ease-in-out;
  93. -o-transition: all 0.7s ease-in-out;
  94. }
  95. #tab04:hover{/*This is the customization of the tabs HOVER*/
  96. height:120px; /*how long the tab slides down. To try new transitions and stuff I always just google how to do stuff. You can adjust the transitions by scale, opacity, color, rotation, etc. Google is your friend!*/
  97. -webkit-transition: all 0.7s ease-in-out;
  98. -moz-transition: all 0.7s ease-in-out;
  99. -o-transition: all 0.7s ease-in-out;
  100. }
  101.  
  102. #tab05{ /*This is the customization of EACH tab*/
  103. margin-bottom:5px;
  104. padding-left:4px;
  105. height:14px;
  106. text-align:center;
  107. overflow:hidden;
  108. margin-top:1px1px;
  109. text-transform:uppercase;
  110. letter-spacing:1px;
  111. font-size:10px;
  112. line-height:10px;
  113. z-index:0;
  114. -webkit-transition: all 0.7s ease-in-out;
  115. -moz-transition: all 0.7s ease-in-out;
  116. -o-transition: all 0.7s ease-in-out;
  117. }
  118. #tab05:hover{/*This is the customization of the tabs HOVER*/
  119. height:120px; /*how long the tab slides down. To try new transitions and stuff I always just google how to do stuff. You can adjust the transitions by scale, opacity, color, rotation, etc. Google is your friend!*/
  120. -webkit-transition: all 0.7s ease-in-out;
  121. -moz-transition: all 0.7s ease-in-out;
  122. -o-transition: all 0.7s ease-in-out;
  123. }
  124.  
  125. #tab06{ /*This is the customization of EACH tab*/
  126. margin-bottom:5px;
  127. padding-left:4px;
  128. height:14px;
  129. text-align:center;
  130. overflow:hidden;
  131. margin-top:1px1px;
  132. text-transform:uppercase;
  133. letter-spacing:1px;
  134. font-size:10px;
  135. line-height:10px;
  136. z-index:0;
  137. -webkit-transition: all 0.7s ease-in-out;
  138. -moz-transition: all 0.7s ease-in-out;
  139. -o-transition: all 0.7s ease-in-out;
  140. }
  141. #tab06:hover{/*This is the customization of the tabs HOVER*/
  142. height:120px; /*how long the tab slides down. To try new transitions and stuff I always just google how to do stuff. You can adjust the transitions by scale, opacity, color, rotation, etc. Google is your friend!*/
  143. -webkit-transition: all 0.7s ease-in-out;
  144. -moz-transition: all 0.7s ease-in-out;
  145. -o-transition: all 0.7s ease-in-out;
  146. }
  147.  
  148. #container{/*this controls the position of the tabs, the over-all width, and the title of each tab.*/
  149. text-align:center;
  150. font-size:10px;
  151. text-transform:uppercase;
  152. position:fixed;
  153. font-family:calibri;
  154. left:5px;
  155. background-color:transparent;
  156. letter-spacing:1px;
  157. width:95px;
  158. z-index:9999;
  159. padding:4px;
  160. top:40px;
  161.  
  162. }
  163.  
  164. {CustomCSS}
  165.  
  166.  
  167. </style>
  168.  
  169.  
  170.  
  171. </head>
  172.  
  173. <body>
  174. <div id="structure">
  175. <div id="container"><!---this holds the entire tab together--->
  176.  
  177. <!---begin tab 1 code--->
  178. <div id="tab01">
  179. <!---div styles will style everything inside of the div. So you can make your colors all different, sizes, text-transforms, opacity, just about anything you need to style what shows in the hover--->
  180. <div style="font-size:10px;color:#453220;">TITLE HERE</div> <div style="padding-top:1px; text-transform:lowercase; opacity:.9; font-family: calibri; font-size:9px; line-height:9px; text-align:center; color:#b9b9b9;"><br>
  181. TEXT HERE
  182.  
  183. </div>
  184. </div>
  185. <!---end tab 1 code--->
  186.  
  187. <!---begin tab 2 code--->
  188. <div id="tab02">
  189. <div style="font-size:10px;color:#453220;">TITLE HERE</div> <div style="padding-top:1px; text-transform:lowercase; opacity:.9; font-family: calibri; font-size:9px; line-height:10px; text-align:center; color:#b9b9b9;"><br>
  190. TEXT HERE
  191. </div></div>
  192. <!---end tab 2 code--->
  193.  
  194. <!---begin tab 3 code--->
  195. <div id="tab03">
  196. <div style="font-size:10px;color:#453220;">TITLE HERE</div> <div style="padding-top:1px; text-transform:lowercase; opacity:.9; font-family: calibri; font-size:9px; line-height:10px; text-align:center; color:#b9b9b9;"><br>
  197. TEXT HERE
  198. </div>
  199. </div>
  200. <!---end tab 3 code--->
  201.  
  202.  
  203. <!---begin tab 4 code--->
  204. <div id="tab04">
  205. <div style="font-size:10px;color:#453220;">TITLE HERE</div> <div style="padding-top:1px; text-transform:lowercase; opacity:.9; font-family: calibri; font-size:9px; line-height:10px; text-align:center; color:#b9b9b9;"><br>
  206. TEXT HERE
  207.  
  208. </div>
  209. </div>
  210. <!---end tab 4 code--->
  211.  
  212. <!---begin tab 5 code--->
  213.  
  214. <div id="tab05">
  215. <div style="font-size:10px;color:#453220;">TITLE HERE</div> <div style="padding-top:1px; text-transform:lowercase; opacity:.9; font-family: calibri; font-size:9px; line-height:10px; text-align:center; color:#b9b9b9;"><br>
  216. TEXT HERE
  217. </div>
  218. </div>
  219.  
  220. <!---end tab 5 code--->
  221.  
  222. <!---begin tab 6 code--->
  223. <div id="tab06">
  224. <div style="font-size:10px;color:#453220;">TITLE HERE</div> <div style="padding-top:1px; text-transform:lowercase; opacity:.9; font-family: calibri; font-size:9px; line-height:12px; text-align:center; color:#b9b9b9;"><br>
  225. TEXT HERE
  226. </div></div>
  227.  
  228. <!---end tab 6 code--->
  229. <!---to add more tabs just copy and paste the tab codes and change the div title to the number of the new tab.--->
  230. </div></div></div></div>
  231. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement