forked from Enricozon-Team/enricozon2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtag.css
45 lines (40 loc) · 830 Bytes
/
tag.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
.product-badge {
display: flex;
align-items: center;
justify-content: center;
background-color: #e67a00;
color: #fff;
font-size: 0.8rem;
line-height: 1.5;
height: 1.625rem;
width: 100%;
max-width: 5.5rem;
padding-right: 0.5rem;
position: relative;
z-index: 1;
-webkit-clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
top: 2.88rem;
left: 1.25rem;
border-radius: 0.2rem;
transition: transform 0.3s ease-in-out;
}
.product-badge:hover {
transform: scale(1.1);
}
.product-badge.choice {
background-color: #23303e;
color: #fff;
max-width: 8rem;
margin-right: 0.25rem;
}
.product-badge.choice > span {
color: #e58f34;
}
.product-badge.choice sup {
position: relative;
font-size: 0.5rem;
}
.grid-prime {
flex-wrap: wrap;
}