-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
45 lines (43 loc) · 737 Bytes
/
index.css
File metadata and controls
45 lines (43 loc) · 737 Bytes
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
*{
margin: 0;
padding: 0;
}
i{
color: red;
}
body{
height: 100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
}
.img-container{
position: relative;
overflow: hidden;
height: 300px;
margin: 10px 0;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.heart-animation{
position: absolute;
font-size: 5rem;
/* height: 100%;
width: 100%; */
animation: blink 0.7s forwards;
transform: scale(1) translate(-50%,-50%);
}
.img-container img{
height: 100%;
width: auto;
}
.info-container{
width: 100%;
text-align: right;
}
@keyframes blink {
to{
transform: scale(2) translate(-50%,-50%);
opacity: 0;
}
}