-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
55 lines (53 loc) · 834 Bytes
/
Copy pathstyle.css
File metadata and controls
55 lines (53 loc) · 834 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* general-css */
body {
width: 80%;
margin: 0 auto;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
}
div {
border: 2px dashed black;
padding: 40px;
font-size: 24px;
font-weight: 600;
}
.header {
display: grid;
grid-template-columns: 200px 1fr;
grid-template-rows: 1fr;
grid-gap: 30px;
margin: 50px 0;
}
.main-sec {
display: grid;
grid-template-columns: 2fr 1fr;
grid-gap: 30px;
margin: 50px 0;
}
.client-sec {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-gap: 30px;
margin: 50px 0;
}
@media screen and (max-width: 600px) {
.header,
.main-sec {
grid-template-columns: 1fr;
}
div {
text-align: center !important;
}
}