-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
60 lines (46 loc) · 847 Bytes
/
Copy pathstyle.css
File metadata and controls
60 lines (46 loc) · 847 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
59
60
{
margin: 0;
paadding: 0;
box-sizing:border-box;
}
body{
height: 90vh;
width: 90vw ;
}
.parent{
height: 100%;
width: 100%;
background-color: gray;
padding: 2rem;
display: grid;
grid-template-rows: repeat(4 , 1fr) ;
grid-template-columns: repeat(3 , 1fr);
gap: 2rem;
/* row-gap: 2rem;
column-gap: 2rem; */
}
.child{
color:greenyellow;
align-items: center;
border: 5px solid black;
background-color:greenyellow;
display: flex;
justify-content: center;
}
@media (min-width: 768px){
.child{
background-color: #b91616;
}
.header, .footer{
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;
}
}