-
Notifications
You must be signed in to change notification settings - Fork 0
/
_media.scss
57 lines (56 loc) · 1.6 KB
/
_media.scss
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
@use 'variables';
@media screen and (min-width: 768px) {
body {
min-height: 100vh;
.container {
max-width: 900px;
min-height: 460px;
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: 2rem;
row-gap: 1rem;
.form {
grid-area: 1 / 1;
}
.tip-percentage {
grid-area: 2 / 1;
.grid-numbers {
.percent {
&:nth-child(1) {
grid-area: 1 / 1;
}
&:nth-child(2) {
grid-area: 2 / 1;
}
&:nth-child(3) {
grid-area: 1 / 2;
}
&:nth-child(4) {
grid-area: 2 / 2;
}
&:nth-child(5) {
grid-area: 1 / 3;
}
}
.custom {
grid-area: 2 / 3;
}
}
}
.form-two {
grid-area: 3 / 1;
}
.result {
grid-area: 1 / 2 / 4;
.result-answer1,
.result-answer2 {
height: fit-content;
}
.reset {
height: fit-content;
align-self: flex-end;
}
}
}
}
}