-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
103 lines (85 loc) · 1.28 KB
/
app.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
94
95
96
97
98
99
100
101
102
103
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: pink;
}
h1 {
color: black;
background-color: green;
}
.snowey {
background-color: lightblue;
color: white;
margin: 50px 10px 50px 10px;
}
.page {
display: flex;
flex-wrap: wrap;
</-- default behavior of the page -->
}
.menu {
</-- margin and padding same as * -->
list-style-type: none;
height: 100px;
}
.menu-item {
float: left;
list-style-type: none;
}
.block-menu-design {
display: block;
padding: 8px;
background-color: lightseagreen;
}
.section {
width: 100%;
height: 250px;
display: flex;
justify-content: center;
align-items: center;
}
.header {
background-color: ghostwhite;
}
.content {
background-color: lightgreen;
height: 200px;
}
.feature-1 {
background-color: palevioletred;
}
.feature-2 {
background-color: blue;
}
.feature-3 {
background-color: blueviolet;
}
.feature-4 {
background-color: purple;
}
.contacts {
background-color: turquoise;
}
@media only screen and (min-width: 401px) and (max-width: 960px) {
.feature-1,
.feature-2,
.feature-3,
.feature-4 {
width: 50%;
}
}
@media only screen and (min-width: 961px) {
.page {
width: 960px;
margin: 0 auto; </-- centers it -->
}
.feature-1,
.feature-2,
.feature-3,
.feature-4 {
width: 25%;
}
}