Advertisement
hallowimg

tabs

Jul 15th, 2019
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. <style>
  2. body{
  3. background-color: #000;
  4. }
  5.  
  6. .tab1 {
  7. position: absolute;
  8. top: 50;
  9. left: 45;
  10. height: 20;
  11. width: 20;
  12. background-color: #fff;
  13. border-radius: 10px;
  14. transition: 0.3s ease-in;
  15. z-index: 5;
  16. }
  17.  
  18. .tab1:hover {
  19. border-radius: 0px;
  20. transform: rotate(45deg);
  21. }
  22.  
  23. .tab2 {
  24. position: absolute;
  25. top: 50;
  26. left: 95;
  27. height: 20;
  28. width: 20;
  29. background-color: #fff;
  30. border-radius: 10px;
  31. transition: 0.3s ease-in;
  32. z-index: 5;
  33. }
  34.  
  35. .tab2:hover {
  36. border-radius: 0px;
  37. transform: rotate(45deg);
  38. }
  39.  
  40. .tab3 {
  41. position: absolute;
  42. top: 50;
  43. left: 145;
  44. height: 20;
  45. width: 20;
  46. background-color: #fff;
  47. border-radius: 10px;
  48. transition: 0.3s ease-in;
  49. z-index: 5;
  50. }
  51.  
  52. .tab3:hover {
  53. border-radius: 0px;
  54. transform: rotate(45deg);
  55. }
  56.  
  57. .tab4 {
  58. position: absolute;
  59. top: 50;
  60. left: 0;
  61. height: 20;
  62. width: 20;
  63. background-color: #fff;
  64. border-radius: 10px;
  65. transition: 0.3s ease-in;
  66. z-index: 5;
  67. }
  68.  
  69. .tab4:hover {
  70. border-radius: 0px;
  71. transform: rotate(45deg);
  72. }
  73.  
  74. .tab5 {
  75. position: absolute;
  76. top: 50;
  77. left: 200;
  78. height: 20;
  79. width: 20;
  80. background-image:url('http://cliparts.co/cliparts/Rki/Myo/RkiMyoycj.png');
  81. background-size:100%;
  82. border-radius: 10px;
  83. transition: 0.3s ease-in;
  84. z-index: 5;
  85. }
  86.  
  87. .tab5:hover {
  88. border-radius: 0px;
  89. transform: rotate(45deg);
  90. }
  91.  
  92.  
  93. </style>
  94.  
  95. bitch
  96.  
  97. <a class='tab1' href='#1'></a>
  98. <a class='tab2' href='#2'></a>
  99. <a class='tab3' href='#3'></a>
  100. <a class='tab4' href='#4'></a>
  101. <a class='tab5' href='#5'></a>
  102.  
  103.  
  104. <div class='info' div id='3'>put</div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement