topshopandtea

updates tab #2

Aug 17th, 2013
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. #updates {
  2. background-color:#000;/*-- Adjusts the background color--*/
  3.  
  4. width:50px; /*-The width of it w/o hover -*/
  5.  
  6. height:50px; /*--The height of it w/o hover--*/
  7.  
  8. font-size:9px;
  9.  
  10. font-family:consolas;
  11.  
  12. color:#fff;
  13.  
  14. border-radius:0px 60px 0px 0px; /*Change 60 to 0 if you don't want it rounded*/
  15.  
  16. /*--I would suggest not touching whatever's bellow this...*/
  17. left:0.5px;
  18.  
  19. bottom:0px;
  20.  
  21. position:fixed;
  22.  
  23. overflow:hidden;
  24.  
  25. opacity 0.8s;
  26.  
  27. -webkit-transition: linear;-webkit-transition: all 0.9s ease-in-out;-moz-transition: all 0.8s ease-in-out;-o-transition: all 0.8s ease-in-out;
  28.  
  29. z-index:999;
  30. }
  31.  
  32.  
  33. #header {
  34. margin-top:25px; /*HOW FAR THE PLUS IS FROM THE TOP*/
  35.  
  36. margin-bottom:20px; /*HOW FAR THE PLUS IS FROM THE BOTTOM*/
  37.  
  38. margin-left:-5px; /*HOW FAR LEFT THE PLUS IS FROM THE LEFT*/
  39.  
  40. font-size:12px; /*FONT SIZE*/
  41.  
  42. font-family:consolas; /*FONT*/
  43.  
  44. color:#fff;
  45. /*DONT TOUCH*/
  46. -webkit-transition: linear;-webkit-transition: all 0.8s ease-in-out;-moz-transition: all 0.8s ease-in-out;-o-transition: all 0.8s ease-in-out;
  47. }
  48.  
  49.  
  50.  
  51. #updates:hover{
  52. width:125px; /*HOW WIDE THE UPDATES TAB IS (WHEN HOVERED)*/
  53.  
  54. height:200px; /*HOW TALL THE UPDATES TAB IS (WHEN HOVERED)*/
  55.  
  56. border-radius:0px; /*IF YOU DONT WANT IT ROUNDED WHEN HOVERED KEEP IT AT 0*/
  57.  
  58. }
  59.  
  60. #updates:hover #header{
  61.  
  62. /*SHOULD YOU WANT TO MOVE THE PLUS SIGN (WHEN THE TAB IS HOVERED) THIS IS WHERE YOU CAN CONTROL IT*/
  63.  
  64. margin-top:10px;
  65.  
  66. margin-left:0px;
  67.  
  68. margin-bottom:4px;
  69. }
Advertisement
Add Comment
Please, Sign In to add comment