-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanimations.css
More file actions
46 lines (43 loc) · 1.02 KB
/
animations.css
File metadata and controls
46 lines (43 loc) · 1.02 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
/* Utility Classes */
.animate{
animation-duration: 1s;
animation-fill-mode: both;
}
.animate .animate--infinte{
animation-iteration-count: infinite;
}
.animate.animate--delay-1s{
animation-delay: 1s;
}
.animate.animate--fast{
animation-duration: 0.6s;
}
.animate.animate-slow{
animation-duration: 1.5s;
}
@keyframes slideInLeft {
from{
transform: translateX(-300px);
}
to{
transform: translateY(0);
}
}
.slideInLeft{
animation-name: slideInLeft;
animation-timing-function: ease-in;
}
.my-image:hover, .timeline-image:hover, .Coding-travel:hover, .my-logo:hover{
transform: translateY(-15px);
transition: transform 0.4s;
transition-timing-function: ease-in-out;
}
.animate-element {
opacity: 0;
transform: translateY(50px); /* Start out of view */
transition: opacity 1s ease-out, transform 1s ease-out;
}
.animate-element.animate {
opacity: 1;
transform: translateY(0); /* End position */
}