File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 17
17
< div class ="circle-container ">
18
18
< div class ="circle ">
19
19
< button id ="close ">
20
- < i class ="fas fa-times "> </ i >
20
+ <!-- Change Menu Icons -->
21
+ < i class ="fas fa-minus "> </ i >
21
22
</ button >
22
23
< button id ="open ">
23
- < i class ="fas fa-bars "> </ i >
24
+ < i class ="fas fa-plus "> </ i >
24
25
</ button >
25
26
</ div >
26
27
</ div >
@@ -63,6 +64,8 @@ <h2>My Subtitle</h2>
63
64
< li > < i class ="fas fa-home "> </ i > Home</ li >
64
65
< li > < i class ="fas fa-user-alt "> </ i > About</ li >
65
66
< li > < i class ="fas fa-envelope "> </ i > Contact</ li >
67
+ <!-- Add More Navigation Links -->
68
+ < li > < i class ="fas fa-briefcase "> </ i > Portfolio</ li >
66
69
</ ul >
67
70
</ nav >
68
71
< script src ="script.js "> </ script >
Original file line number Diff line number Diff line change 22
22
}
23
23
24
24
.container .show-nav {
25
- transform : rotate (-20deg );
25
+ /* Adjust Rotation Angle */
26
+ transform : rotate (-30deg );
26
27
}
27
28
28
29
.circle-container {
@@ -92,10 +93,13 @@ nav ul li {
92
93
color : # fff ;
93
94
margin : 40px 0 ;
94
95
transform : translateX (-100% );
95
- transition : transform 0.4s ease-in;
96
+ /* Modify Transition Speed of Menu Items */
97
+ transition : transform 0.2s ease-in;
96
98
}
97
99
98
100
nav ul li i {
101
+ /* Change Icon Color: */
102
+ color : # ff7979 ;
99
103
font-size : 20px ;
100
104
margin-right : 10px ;
101
105
}
@@ -110,6 +114,11 @@ nav ul li + li + li {
110
114
transform : translateX (-200% );
111
115
}
112
116
117
+ nav ul li + li + li + li {
118
+ margin-left : 45px ;
119
+ transform : translateX (-250% );
120
+ }
121
+
113
122
.content {
114
123
max-width : 1000px ;
115
124
margin : 50px auto;
You can’t perform that action at this time.
0 commit comments