-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
93 lines (77 loc) · 1.47 KB
/
style.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
@import url('https://unpkg.com/css.gg@2.0.0/icons/css/menu.css');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
div{
margin-top: 5%;
margin-left: 25%;
background-color: green;
height: 70vh;
width: 50%;
align-items: center;
justify-content: center;
}
.second{
background-color: white;
height: 30vh;
width: 30%;
align-items: center;
justify-content: center;
}
.header{
display: flex;
width: 100%;
gap: 70px;
justify-content: center;
color: brown;
.gg-menu {
transform: scale(var(--ggs,1))
}
.gg-menu,
.gg-menu::after,
.gg-menu::before {
box-sizing: border-box;
position: relative;
display: block;
width: 20px;
height: 2px;
border-radius: 3px;
background: currentColor
}
.gg-menu::after,
.gg-menu::before {
content: "";
position: absolute;
top: -6px
}
.gg-menu::after {
top: 6px
}
}
@media screen and (orientation: landscape) {
div.header{
display: none;
}
}
@media screen and (200px <= width <= 1080px) {
div{
background-color: blue;
}
}
@media screen and (500px <= width <= 1080px) {
div{
background-color: red;
}
}
@media screen and (700px <= width <= 1080px){
div{
background-color: yellow;
}
}
@media screen and (900px <= width <= 1080px) {
div{
background-color: purple;
}
}