-
Notifications
You must be signed in to change notification settings - Fork 3
/
demo.css
74 lines (64 loc) · 1.03 KB
/
demo.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
@import url('https://fonts.googleapis.com/css?family=Montserrat:100i,300,400,500,800&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat', sans-serif;
}
li {
list-style: none;
}
input:hover {
border: 1px solid blue;
}
svg {
width: 1rem;
}
body {
display: flex;
flex-direction: column;
justify-content: space-between;
}
img {
margin-right: 1rem;
margin-bottom: 1rem;
float: left;
}
header {
border: 2px solid purple;
display: flex;
justify-content: space-between;
}
nav ul {
display: flex;
flex-direction: row;
justify-content: space-between;
}
nav {
min-width: 30%;
}
.single-dog-card {
padding: 1rem;
flex-basis: 20em;
border: 2px solid peru;
border-radius: 1rem;
margin-top: 1rem;
}
.dog-list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
main {
border: 2px solid turquoise;
flex-grow: 2;
}
header, main, footer {
padding: 1rem;
}
footer {
border: 2px solid peru;
}