-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle3.css
More file actions
58 lines (43 loc) · 738 Bytes
/
style3.css
File metadata and controls
58 lines (43 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
* {
margin:0;
padding:0;
box-sizing: border-box;
}
body{
height: 100vh;
width: 100vw;
}
.parent{
height: 100%;
width: 100%;
background-color:rgb(26, 237, 26);
padding: 2rem;
display: grid;
grid-template-rows: repeat(4,1fr);
grid-template-columns: repeat(3,1fr);
gap: 1rem;
}
.child{
color: white;
align-items: center;
border: 5px solid black;
background-color:rgb(239, 239, 102);
display: flex;
justify-content: center;
}
.header{
grid-column-start:1;
grid-column-end:4 ;
}
.sidebar{
grid-row-start: 2;
grid-row-end:4;
}
.c1{
grid-column-start: 2;
grid-column-end: 4;
}
.footer{
grid-column-start: 1;
grid-column-end:4;
}