HarshBarash

Untitled

May 15th, 2021
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. @import "bootstrap";
  2. @import "bootstrap-sprockets";
  3.  
  4.  
  5.  
  6. body {
  7. background-color: #E5E5E5;
  8. height: 100%;
  9. margin: 80px;
  10. }
  11.  
  12. h9 {
  13. font-size: 65px;
  14. }
  15.  
  16. .wrapper {
  17.  
  18. }
  19.  
  20. .containerrr {
  21. max-width: 1180px;
  22. margin: 0px auto;
  23. padding: 0px 10px;
  24. }
  25.  
  26. .header {
  27. position: fixed;
  28. width: 100%;
  29. top: 0;
  30. left: 0;
  31. z-index: 50;
  32. }
  33.  
  34. .header:before {
  35. content: "";
  36. position: absolute;
  37. top: 0;
  38. left: 0;
  39. width: 100%;
  40. height: 100%;
  41. border-radius: 30px;
  42. background-color: #376FFF;
  43. z-index: 2;
  44. }
  45.  
  46. .header_body {
  47. position: relative;
  48. display: flex;
  49. justify-content: space-between;
  50. height: 80px;
  51. align-items: center;
  52. margin: 10px;
  53. text-decoration: none;
  54. }
  55.  
  56. .header_list {
  57. display: flex;
  58. position: relative;
  59. z-index: 2;
  60. }
  61.  
  62. .header_list li{
  63. list-style: none;
  64. margin: 0px 0px 0px 20px;
  65. }
  66.  
  67.  
  68. .header_link {
  69. color: #F7F7F7;
  70. font-family: Wellfleet;
  71. font-size: 40px ;
  72. text-decoration: none;
  73.  
  74. }
  75.  
  76. .header_logo {
  77. flex: 0 0 60px;
  78. color: #F7F7F7;
  79. font-size: 80px;
  80. font-family: Wellfleet;
  81. z-index: 3;
  82. }
  83.  
  84. .header_burger {
  85. display: none;
  86. }
  87.  
  88. @media (max-width: 767px){
  89.  
  90. body.lock{
  91. overflow: hidden;
  92. }
  93. .header_body {
  94. height: 50px;
  95. }
  96. .header_logo {
  97. flex: 0 0 50px;
  98. }
  99. .header_burger {
  100. display: block;
  101. position: relative;
  102. width: 30px;
  103. height: 20px;
  104. z-index: 3;
  105.  
  106. }
  107. .header_burger span {
  108. position: absolute;
  109. background-color: #F7F7F7;
  110. left: 0;
  111. width: 100%;
  112. height: 2px;
  113. top: 9px;
  114. transition: all 0.3s ease 0s;
  115. }
  116. .header_burger:before,
  117. .header_burger:after{
  118. content: "";
  119. background-color: #F7F7F7;
  120. position: absolute;
  121. width: 100%;
  122. height: 2px;
  123. left: 0;
  124. transition: all 0.3s ease 0s;
  125.  
  126. }
  127. .header_burger:before {
  128. top: 0;
  129. }
  130. .header_burger:after {
  131. bottom: 0;
  132. }
  133.  
  134. .header_burger.active span{
  135. transform: scale(0);
  136.  
  137. }
  138. .header_burger.active:before {
  139. transform: rotate(45deg);
  140. top: 9px
  141. }
  142. .header_burger.active:after {
  143. transform: rotate(-45deg);
  144. bottom: 9px
  145. }
  146.  
  147. .header_menu {
  148. position: fixed;
  149. top: -100%;
  150. left: 0;
  151. width: 100%;
  152. height: 100%;
  153. overflow: auto;
  154. background-color: #376FFF;
  155. padding: 70px 10px 20px 10px;
  156. transition: all 0.3s ease 0s;
  157. }
  158.  
  159. .header_menu.active{
  160. top: 0;
  161. }
  162. .header_list {
  163. display: block;
  164. }
  165. .header_list li {
  166. margin: 0px 0px 20px 0px;
  167. }
  168. }
  169.  
Advertisement
Add Comment
Please, Sign In to add comment