-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
68 lines (61 loc) · 1.14 KB
/
style.css
File metadata and controls
68 lines (61 loc) · 1.14 KB
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
body {
padding: 0;
margin: 0;
font-family: sans-serif;
height: 100vh;
}
.main {
height: 100%;
background-color: pink;
display: flex;
justify-content: center;
align-items: center;
}
.card {
height: 25rem;
width: 15rem;
background-color: white;
border-radius: 32px;
padding: 1rem;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-evenly;
}
.card__img {
width: 100%;
margin-bottom: 1rem;
}
.card__name {
font-size: 1.5rem;
text-decoration: none;
color: rgb(40,40,40);
}
.card__buy {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: 1rem;
background-color: rgb(33, 174, 115);
color: white;
text-decoration: none;
letter-spacing: 1px;
border-radius: 32px;
}
.price {
width: 100%;
display: flex;
align-items: center;
}
.price__value {
font-size: 1rem;
color: rgb(94,94,94);
}
.price__value--old {
font-size: 0.8rem;
color: rgb(174,174,174);
text-decoration: line-through;
margin-right: 0.8rem;
}