File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 3131 border-radius : 3px ;
3232 box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.3 );
3333 transition : width 0.6s linear;
34+ overflow-x : hidden;
3435}
3536
3637nav .active {
@@ -44,7 +45,7 @@ nav ul {
4445 margin : 0 ;
4546 width : 0 ;
4647 transition : width 0.6s linear;
47- overflow-x : hidden ;
48+ gap : 20 px ;
4849}
4950
5051nav .active ul {
@@ -66,7 +67,6 @@ nav ul a {
6667 position : relative;
6768 color : # 000 ;
6869 text-decoration : none;
69- margin : 0 10px ;
7070}
7171
7272.icon {
@@ -105,3 +105,15 @@ nav.active .icon .line1 {
105105nav .active .icon .line2 {
106106 transform : rotate (765deg ) translateY (-5.5px );
107107}
108+
109+ @media (max-width : 350px ) {
110+ nav .active {
111+ width : 100% ;
112+ height : 150px ;
113+ }
114+
115+ nav .active ul {
116+ flex-direction : column;
117+ gap : 10px ;
118+ }
119+ }
You can’t perform that action at this time.
0 commit comments