-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcard-preview.css
More file actions
84 lines (72 loc) · 1.36 KB
/
card-preview.css
File metadata and controls
84 lines (72 loc) · 1.36 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
body {
background-color: hsl(30, 38%, 92%);
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: "Montserrat", sans-serif;
font-size: 14px;
color: hsl(228, 12%, 48%);
}
img {
width: 280px;
height: 420px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
.product_desc {
width: 240px;
height: 380px;
background-color: hsl(0, 0%, 100%);
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
padding: 20px;
}
.main {
border-radius: 10px;
display: flex;
}
h1 {
font-family: "Fraunces", serif;
color: hsl(212, 21%, 14%);
margin-right: 10px;
}
.product_desc :nth-child(1) {
font-family: "Montserrat", sans-serif;
text-transform: uppercase;
color: hsl(228, 12%, 48%);
letter-spacing: 3px;
}
.pricing {
display: flex;
align-items: center;
}
.pricing :first-child {
color: hsl(158, 36%, 37%);
font-family: "Fraunces", serif;
}
.pricing :last-child {
text-decoration: line-through;
}
.product_desc :nth-child(3) {
line-height: 1.5;
margin-bottom: 0px;
}
button {
width: 240px;
height: 40px;
background-color: hsl(158, 36%, 37%);
border-radius: 10px;
border: none;
color: hsl(0, 0%, 100%);
font-weight: bold;
cursor: pointer;
}
button:hover {
background-color: hsl(212, 21%, 14%);
}
button img {
width: 15px;
height: 15px;
}