Advertisement
MystiqueAquanian

updates tab

Feb 5th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. (before </style> </head> <body> )
  2.  
  3. /* UPDATES TAB #1 by http://wizardring.tumblr.com */
  4.  
  5. #tab {width:140px; position:fixed; top:60px; left:20px; z-index:3; transition:all .5s ease;}
  6. #tab:hover {transition:all .8s ease;}
  7.  
  8. /* box */
  9. #tab_box {position:relative; text-align:justify; opacity:0; transition:all .5s ease; margin:100px -200px 10px; width:140px;}
  10. #tab:hover #tab_box {opacity:1; transition:all 1s ease; margin:15px 0px 8px;}
  11.  
  12. /* the navicon: change the color of it by putting other color code instead of #eee*/
  13. .border1 {width:20px; height:1px; background:#000000; position:absolute; margin-top:0px; transition:all .5s ease;}
  14. .border2 {width:20px; height:1px; background:#000000; position:absolute; margin-top:5px; transition:all .5s ease;}
  15. .border3 {width:20px; height:1px; background:#000000; position:absolute; margin-top:10px; transition:all .5s ease;}
  16.  
  17. #tab:hover .border1 {margin-top:0px; width:50px; transition:all .9s ease;}
  18. #tab:hover .border2 {margin-top:0px; width:50px; margin-left:50px; transition:all .9s ease;}
  19. #tab:hover .border3 {margin-top:0px; width:40px; margin-left:100px; transition:all .9s ease;}
  20.  
  21. /* title: change the title/background color by changing the #COLORCODE; */
  22. .updates_title {padding-right:5px; text-align:left; background:#fbfbfb; color:#000; text-transform:uppercase; font-size:7.5px; transition:all .5s ease; position:absolute; font-weight:bold; width:auto; display:inline-block; margin-top:-6px; margin-left:-200px; opacity:0; letter-spacing:3px;}
  23. #tab:hover .updates_title {transition:all 1s ease; opacity:1; margin-left:0px;}
  24.  
  25. /* tab divisor: change the color of it by putting other color code instead of #eee; if you want it centered, change the margin to 'margin:8px auto 0px' */
  26. #tab_border {height:1px; background:#eee; width:100px; position:relative; margin:8px 0px 8px;}
  27.  
  28. /* UPDATES TAB #1 by http://wizardring.tumblr.com */
  29.  
  30.  
  31.  
  32.  
  33.  
  34. (after </style> </head> <body> )
  35.  
  36.  
  37. <!-- UPDATES TAB #1 by http://wizardring.tumblr.com -->
  38. <div id="tab">
  39. <!--navicon-->
  40. <div class="border1"></div>
  41. <div class="border2"></div>
  42. <div class="border3"></div>
  43. <!--navicon-->
  44.  
  45. <!--tab title-->
  46. <div class="updates_title">updates</div>
  47. <!--box-->
  48. <div id="tab_box">
  49. <!--write things here, break a line by using <br>-->
  50.  
  51. <b>"</b>Fairy tales are more than true: not because they tell us that dragons exist, but because they tell us that dragons can be beaten.<b>"</b>
  52. <!--to use a divider just copy and paste this: <div id="tab_border"></div>-->
  53.  
  54. <div id="tab_border"></div>
  55.  
  56. jes, she/her, gemini: people want things they can't have
  57.  
  58. <div id="tab_border"></div>
  59.  
  60. this is my multifandom, aes etc. Main blog: <a href="http://www.k-ths.tumblr.com">@k-ths</a>
  61.  
  62. <div id="tab_border"></div>
  63.  
  64. <b>Updates:</b>
  65.  
  66. <p>- new updates tab</p>
  67.  
  68. <!--write things here-->
  69. </div>
  70. </div>
  71. <!-- UPDATES TAB #1 by http://wizardring.tumblr.com -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement