-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
53 lines (43 loc) · 815 Bytes
/
style.css
File metadata and controls
53 lines (43 loc) · 815 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
.flex-parent {
border: 2px solid;
height: 500px;
display: flex;
justify-content: center;
align-items: center;
}
.flex-child {
margin: 5px;
border: 2px solid;
border-radius: 5px;
padding: 5px;
width: 300px;
height: 300px;
display: flex;
justify-content: space-between;
align-items: top;
}
img {
width: 200px;
height: 200px;
}
.red {
background: #fe4d3f;
}
.pink {
background: #ffdfe7;
}
button {
height: 40px;
display: block;
padding: 10px 20px;
border: none;
background: #1301ff;
color: white;
font-family: Montserrat;
font-size: 20px;
}
/*
flex box links:
> https://www.youtube.com/watch?v=K74l26pE4YA
> https://css-tricks.com/snippets/css/a-guide-to-flexbox/
*/