-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.css
62 lines (57 loc) · 1 KB
/
test.css
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
61
62
body {
background-color: #efefef;
}
.container {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: repeat(2, 1fr);
color: #fff;
text-align: center;
font-size: 1em;
line-height: 4;
}
#main {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.buttons {
display: grid;
height: fit-content;
justify-self: center;
}
button {
background-color: #72c3dc;
color: #fff;
border-radius: 5px;
box-shadow: 0 8px 6px -6px #2b8ead;
margin: 20px;
height: 30px;
width: 60px;
border: none;
}
@media only screen and (max-width: 600px) {
body {
background: #fff;
}
.container {
grid-template-columns: auto;
grid-template-rows: 1fr;
}
#main {
direction: rtl;
gap: 2%;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
order: 1;
}
#main div {
color: #000;
grid-column: 1;
border-radius: 3px;
background-image: linear-gradient(to right, transparent, #efefef 5%);
}
}
.footer {
bottom: 0;
position: absolute;
}