-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
56 lines (49 loc) · 985 Bytes
/
Copy pathstyle.css
File metadata and controls
56 lines (49 loc) · 985 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
height: 100vh;
width: 100vw;
}
.parent{
height: 100%;
width: 100%;
background-color: grey;
padding: 2rem;
display: grid;
grid-template-rows: repeat(4,1fr);
/* fr unit use karne pe instead of px then aur responsive hoga */
grid-template-columns: repeat(3,1fr);
/* repeat() se same cheez define hogi baar baar */
row-gap: 1 rem;
column-gap: 1 rem;
}
.child{
color: white;
border: 5px solid black;
background-color: maroon;
display: flex;
justify-content: center;
align-items: 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;
}
.c3{
grid-column-start: 1;
grid-column-end: 4;
}
@media(min-width:768px){
/* explore karo chutiyaaa */
}