m2136

updates tab 01 - 1

Mar 14th, 2015
4,404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.15 KB | None | 0 0
  1. /* updates tab */
  2.  
  3. #updates { /* entire updates tab */
  4.     top:15px;
  5.     left:20px;
  6.     position:fixed;
  7.     background-color:transparent;
  8.     width:120px;
  9.     z-index:9999;
  10.     padding:4px;
  11. }
  12.  
  13.  
  14. #tab001, #tab002, #tab003, #tab004 { /* individual tab */
  15.     padding:5px;
  16.     margin-top:5px;
  17.     height:14px;
  18.     text-align:center;
  19.     overflow:hidden;
  20.     margin-top:1px1px;
  21.     text-transform:uppercase;
  22.     letter-spacing:1px;
  23.     font-size:10px;
  24.     line-height:10px;
  25.     z-index:0;
  26.         -webkit-transition: all 0.7s ease-in-out;
  27.         -moz-transition: all 0.7s ease-in-out;
  28.         -o-transition: all 0.7s ease-in-out;
  29.         transition: all 0.7s ease-in-out;
  30. }
  31.  
  32. #box001, #box002, #box003, #box004 { /* styling for the hover boxes */
  33.     margin-top:5px;
  34.     width:12px;
  35.     height:12px;
  36.         -webkit-transition: all 0.7s ease-in-out;
  37.         -moz-transition: all 0.7s ease-in-out;
  38.         -o-transition: all 0.7s ease-in-out;
  39.         transition: all 0.7s ease-in-out;
  40. }
  41.  
  42. #body001, #body002, #body003, #body004 { /* text styling */
  43.     color:#2e2e2e;
  44.     text-align:left;
  45.     line-height:150%;
  46.     font-family:Arial; /* change the font here */
  47.     text-transform:lowercase;
  48.     font-size:9px;
  49.     letter-spacing:1px;
  50.     margin-left:20px;
  51.     padding-top:10px;
  52. }
  53.  
  54. #tab001:hover #box001, #tab002:hover #box002, #tab003:hover #box003, #tab004:hover #box004 { /* box rotation transition */
  55.     -webkit-transform: rotate(180deg);
  56.     -moz-transform: rotate(180deg);
  57.     -o-transform: rotate(180deg);
  58.     -ms-transform: rotate(180deg);
  59.     transform: rotate(180deg);
  60. }
  61.  
  62. /* box colors */
  63. /* change the color of each box here! */
  64. #box001 {
  65.     background-color:#474747;
  66. }
  67. #box002 {
  68.     background-color:#7f7f7f;
  69. }
  70. #box003 {
  71.     background-color:#bfbfbf;
  72. }
  73. #box004 {
  74.     background-color:#e5e5e5;
  75. }
  76.  
  77. /* tab opening */
  78. /* change the heights of each tab here. make sure it fits the length of your text exactly, otherwise it'll get cut off! */
  79. #tab001:hover{
  80.     height:100px;
  81. }
  82. #tab002:hover {
  83.     height:100px;
  84. }
  85. #tab003:hover {
  86.     height:100px;
  87. }
  88. #tab004:hover {
  89.     height:100px;
  90. }
  91.  
  92. /* end updates tab */
Advertisement
Add Comment
Please, Sign In to add comment