-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
81 lines (71 loc) · 1.38 KB
/
index.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
75
76
77
78
79
80
81
body{
padding: 0;
margin: 0;
font-family: sans-serif;
height: 100vh;
}
.main{
height: 100%;
background-color: rgb(138, 163, 216);
display: flex;
justify-content: center;
align-items: center;
}
.card{
height: 23rem;
width: 15rem;
background-color: white;
border-radius: 32px;
padding: 1rem;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-evenly;
transition: 0.5s;
transform: translateY(0);
}
.card:hover{
transform: translateY(-10px);
box-shadow: 0px 5px 10px 5px rgb(220, 177, 184);
}
.card__img{
width: 100%;
margin-bottom: 1rem;
}
.card__name{
font-size: 1.8rem;
text-decoration: none;
color: rgb(40, 40, 40);
}
.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;
}
.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: 0.5px;
border-radius: 16px;
transition: 0.3s;
}
.card__buy:hover{
background-color: rgb(40, 162, 111);
}