forked from namndwebdev/thiep-mung
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcard.css
43 lines (40 loc) · 1.22 KB
/
card.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
#card {
margin: 8%;
position: absolute;
height: auto;
width: 350px;
border-radius: 10px;
background-color: white;
background-image: url("https://image.freepik.com/free-vector/open-gift-box-with-heart-shape-confetti-burst-explosion-3d-valentines-day-romantic-gift_165143-438.jpg");
background-size: 50vh, 70vh;
box-shadow: 0px 0px 20px red;
transform: rotate(5deg);
top: 0px;
opacity: 0;
left: -200%;
}
.honey {
margin: auto;
padding: 5%;
display: block;
border-radius: 50%;
box-shadow: 0 4px 8px 0 red;
width: 100px;
height: 100px;
object-fit: cover;
}
h4 {
text-align: center;
-webkit-text-fill-color: rgba(0, 200, 200, 0.1);
-webkit-background-clip: text;
background-image: url("https://i.pinimg.com/originals/20/21/7f/20217f7fa2c9701b8128d8fb153a4db9.gif");
font-family: 'Allura', cursive;
padding: -2%;
font-size: 19px;
overflow: hidden;
}
.card-show{
opacity: 1 !important;
left: 0 !important;
transition: all 2s;
}