oftenwrongthemes

Custom Updates Tab #1

Aug 18th, 2015 (edited)
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. *****THIS PART GOES AFTER <STYLE TYPE="TEXT/CSS">********
  2.  
  3. .tabcon {
  4. position: fixed;
  5. left: 20px;
  6. top: 20px;
  7. }
  8.  
  9. .tabicon {
  10. width: 50px;
  11. height: 50px;
  12. background:url(http://i57.tinypic.com/1z3xb2p.png);
  13. -moz-transition: transform .8s ease-in-out;
  14. -webkit-transition: -webkit-transform .8s ease-in-out;
  15. -o-transition: -webkit-transform .8s ease-in-out;
  16. -ms-transition: -webkit-transform .8s ease-in-out;
  17. }
  18.  
  19. .tabicon:hover {
  20. -moz-transform: rotate(360deg);
  21. -webkit-transform: rotate(360deg);
  22. -o-transform: rotate(360deg);
  23. -ms-transform: rotate(360deg);
  24. }
  25.  
  26. .conline {
  27. width: 0px;
  28. height: 2px;
  29. background: white;
  30. transition-duration: 0.5s;
  31. -webkit-transition-duration: 0.5s;
  32. -o-transition-duration: 0.5s;
  33. -moz-transition-duration: 0.5s;
  34. position: relative;
  35. left: 50px;
  36. top: 15px;
  37. }
  38.  
  39. .tabicon:hover .conline {
  40. width: 100px;
  41. -webkit-transition-duration: 0.5s;
  42. -o-transition-duration: 0.5s;
  43. -moz-transition-duration: 0.5s;
  44. transition-delay: 0.8s;
  45. -webkit-transition-delay: 0.8s;
  46. -moz-transition-delay: 0.8s;
  47. -o-transition-delay: 0.8s;
  48. }
  49.  
  50. .con {
  51. width: 100px;
  52. height: 0px;
  53. background: white;
  54. overflow: hidden;
  55. transition-duration: 0.5s;
  56. -webkit-transition-duration: 0.5s;
  57. -o-transition-duration: 0.5s;
  58. -moz-transition-duration: 0.5s;
  59. position: relative;
  60. }
  61.  
  62. .tabicon:hover .con {
  63. width: 86px;
  64. padding: 7px;
  65. height: 150px;
  66. -webkit-transition-duration: 0.5s;
  67. -o-transition-duration: 0.5s;
  68. -moz-transition-duration: 0.5s;
  69. transition-delay: 1.3s;
  70. -webkit-transition-delay: 1.3s;
  71. -moz-transition-delay: 1.3s;
  72. -o-transition-delay: 1.3s;
  73. }
  74.  
  75. .context {
  76. font-family: arial;
  77. font-size: 9px;
  78. color: #b3b1b1;
  79. text-align: justify;
  80. opacity: 0;
  81. transition-duration: 0.5s;
  82. -webkit-transition-duration: 0.5s;
  83. -o-transition-duration: 0.5s;
  84. -moz-transition-duration: 0.5s;
  85. }
  86.  
  87. .tabicon:hover .context {
  88. opacity: 1;
  89. -webkit-transition-duration: 0.5s;
  90. -o-transition-duration: 0.5s;
  91. -moz-transition-duration: 0.5s;
  92. transition-delay: 1.8s;
  93. -webkit-transition-delay: 1.8s;
  94. -moz-transition-delay: 1.8s;
  95. -o-transition-delay: 1.8s;
  96. }
  97.  
  98.  
  99. ****THIS PART GOES AFTER <BODY>*******
  100.  
  101. <div class="tabcon">
  102.  
  103. <div class="tabicon"><div class="conline"><div class="con"><div class="context">
  104.  
  105. Hello my name is Adrian and I am the bomb.com. This is my first tab and it looks really nice. Check the next tab for features!
  106.  
  107. </div></div></div></div>
  108.  
  109. <div class="tabicon"><div class="conline"><div class="con"><div class="context">
  110.  
  111. This updates tab has three tabs, all featuring aliens! They spin when you hover over them (how cute).<p />When you hover over the tab, the box will appear and expand. You can control how the short or tall the box expands in the CSS.
  112.  
  113. </div></div></div></div>
  114.  
  115. <div class="tabicon"><div class="conline"><div class="con"><div class="context">
  116.  
  117. You can be <b>bold</b> or <i>italic</i> or <u>underlined</u> or even put a <s>strikethrough</s> in the updates tab!
  118.  
  119. </div></div></div></div>
  120.  
  121. </div>
Advertisement
Add Comment
Please, Sign In to add comment