-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
58 lines (49 loc) · 826 Bytes
/
style.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
58
$color-1: #cdb4db; //Mobile
$color-2: #fff1e6; // Tablet
$color-3: #52b788; // Laptop
$color-4: #bee1e6; // Desktop
$mobile: 576px;
$tablet: 768px;
$laptop: 992px;
$desktop: 1600px;
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
body {
font-family: sans-serif;
font-size: 35px;
}
}
.container {
height: 100vh;
display: grid;
place-content: center;
}
#size {
position: absolute;
top: 55%;
left: 50%;
transform: translateX(-50%);
color: red;
}
@media (max-width: $desktop) {
.container {
background-color: $color-4;
}
}
@media (max-width: $laptop) {
.container {
background-color: $color-3;
}
}
@media (max-width: $tablet) {
.container {
background-color: $color-2;
}
}
@media (max-width: $mobile) {
.container {
background-color: $color-1;
}
}