File tree Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 5
5
html , body {
6
6
margin : 0px ;
7
7
padding : 0px ;
8
+ height : 100% ;
8
9
}
9
10
10
11
.main {
11
12
width : 100% ;
12
- height : 100 vh ;
13
+ height : 100 % ;
13
14
margin : 0px ;
14
15
padding : 0px ;
15
16
position : relative;
@@ -18,9 +19,10 @@ html,body {
18
19
.text-typing {
19
20
display : flex;
20
21
justify-content : center;
21
- margin-left : auto;
22
- margin-right : auto;
23
- vertical-align : bottom;
22
+ position : absolute;
23
+ top : 50% ;
24
+ left : 50% ;
25
+ transform : translate (-50% , -50% );
24
26
}
25
27
26
28
h1 {
75
77
}
76
78
77
79
# hamburger {
78
- position : relative ;
80
+ position : absolute ;
79
81
z-index : 999 ;
80
82
}
Original file line number Diff line number Diff line change 14
14
</ head >
15
15
< body >
16
16
<!-- navigation menu -->
17
- < nav role ="navigation ">
18
- <!-- hamburger menu -->
19
- < button type ="button " id ="hamburger " class ="hamburger hamburger--elastic ">
20
- < span class ="hamburger-box ">
21
- < span class ="hamburger-inner "> </ span >
22
- </ span >
23
- </ button >
17
+ <!-- hamburger menu -->
18
+ < button type ="button " id ="hamburger " class ="hamburger hamburger--elastic ">
19
+ < span class ="hamburger-box ">
20
+ < span class ="hamburger-inner "> </ span >
21
+ </ span >
22
+ </ button >
24
23
25
- <!-- menu with pure css ! -->
26
- < div class ="menuToggle ">
27
- < ul class ="menu ">
28
- <!-- <a href="#"></a> -->
29
- Nothing happen here :(
30
- </ ul >
31
- </ div >
32
- </ nav >
24
+ <!-- menu with pure css ! -->
25
+ < div class ="menuToggle ">
26
+ < ul class ="menu ">
27
+ <!-- <a href="#"></a> -->
28
+ Nothing happen here :(
29
+ </ ul >
30
+ </ div >
33
31
34
32
<!-- main -->
35
33
< div class ="main ">
You can’t perform that action at this time.
0 commit comments