-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
52 lines (45 loc) · 786 Bytes
/
main.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
.container {
position: fixed;
top: 0;
left: 0;
width: 100%;
display: flex;
}
.container section {
min-width: 100%;
height: auto;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: yellow;
}
.container section:nth-child(2) {
background: rgb(228, 31, 31);
}
.container section:nth-child(3) {
background: greenyellow;
}
.container section:nth-child(4) {
background: royalblue;
}
.container section .content {
max-width: 800px;
padding: 40px;
text-align: center;
}
.container section .content h2 {
font-size: 4em;
color: #111;
}
.container section .content p {
font-size: 1.3em;
line-height: 1.4em;
color: #111;
}