File tree Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+
4
+ < head >
5
+ < meta charset ="UTF-8 ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
+ < title > App Layout</ title >
8
+ < style >
9
+ * {
10
+ margin : 0 ;
11
+ padding : 0 ;
12
+ box-sizing : border-box;
13
+ }
14
+
15
+ body {
16
+ font-family : sans-serif;
17
+ color : # 343a40 ;
18
+ font-size : 24px ;
19
+ display : grid;
20
+ height : 100vh ;
21
+ grid-template-columns : 80px 400px 1fr 250px ;
22
+ grid-template-rows : 80px 1fr ;
23
+ text-align : center;
24
+ font-weight : bold;
25
+ }
26
+
27
+ nav ,
28
+ menu ,
29
+ section ,
30
+ main ,
31
+ aside {
32
+ padding-top : 24px ;
33
+ }
34
+
35
+ nav {
36
+ background-color : # 343a40 ;
37
+ color : # fff ;
38
+ grid-row : 1 / -1 ;
39
+ }
40
+
41
+ menu {
42
+ background-color : # 7048e8 ;
43
+ color : # fff ;
44
+ grid-column : 2 / -1 ;
45
+ }
46
+
47
+ section {
48
+ background-color : # e9ecef ;
49
+ }
50
+
51
+ aside {
52
+ background-color : # e9ecef ;
53
+ }
54
+ </ style >
55
+ </ head >
56
+
57
+ < body >
58
+ < nav > Nav</ nav >
59
+ < menu > Menu</ menu >
60
+ < section > Inbox</ section >
61
+ < main > Email view</ main >
62
+ < aside > Additional info</ aside >
63
+ </ body >
64
+
65
+ </ html >
You can’t perform that action at this time.
0 commit comments