forked from rhyanvargas/liquid-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnew.css
More file actions
64 lines (52 loc) · 779 Bytes
/
Copy pathnew.css
File metadata and controls
64 lines (52 loc) · 779 Bytes
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
* {
box-sizing: border-box;
}
body, ul, h1, h2, h3 {
margin: 0;
padding: 0;
}
body {
font-family: sans-serif;
}
main {
width: 90%;
margin: 0 auto;
}
@media (min-width: 40em) {
main {
width: 35em;
}
}
footer ul {
display: flex;
flex-direction: column;
}
@media (min-width: 28em) {
footer li {
width: 9em;
margin-left: 1em;
}
footer ul {
flex-direction: row;
justify-content: center;
}
}
footer li {
list-style: none;
border: solid 1px #000;
padding: 10px;
text-align: center;
color: #fff;
}
footer li:nth-child(1) {
background-color: #55acee;
}
footer li:nth-child(2) {
background-color: #3b5998;
}
footer li:nth-child(3) {
background-color: purple;
}
footer li:nth-child(4) {
background-color: red;
}