Debian Codegraph @

lib/animation/animate/bouncing/_bouncing-entrances.scss

raw
1 // ---------------------------------------------------------------------------
2 @include keyframes(bounceIn) {
3 0% {
4 opacity: 0;
5 @include scale(0.3); }
6 50% {
7 opacity: 1;
8 @include scale(1.05); }
9 70% {
10 @include scale(0.9); }
11 100% {
12 @include scale(1); } }
13
14
15 // ---------------------------------------------------------------------------
16 @include keyframes(bounceInDown) {
17 0% {
18 opacity: 0;
19 @include translateY(-2000px); }
20 60% {
21 opacity: 1;
22 @include translateY(30px); }
23 80% {
24 @include translateY(-10px); }
25 100% {
26 @include translateY(0); } }
27
28
29 // ---------------------------------------------------------------------------
30 @include keyframes(bounceInUp) {
31 0% {
32 opacity: 0;
33 @include translateY(2000px); }
34 60% {
35 opacity: 1;
36 @include translateY(-30px); }
37 80% {
38 @include translateY(10px); }
39 100% {
40 @include translateY(0); } }
41
42
43 // ---------------------------------------------------------------------------
44 @include keyframes(bounceInRight) {
45 0% {
46 opacity: 0;
47 @include translateX(2000px); }
48 60% {
49 opacity: 1;
50 @include translateX(-30px); }
51 80% {
52 @include translateX(10px); }
53 100% {
54 @include translateX(0); } }
55
56
57 // ---------------------------------------------------------------------------
58 @include keyframes(bounceInLeft) {
59 0% {
60 opacity: 0;
61 @include translateX(-2000px); }
62 60% {
63 opacity: 1;
64 @include translateX(30px); }
65 80% {
66 @include translateX(-10px); }
67 100% {
68 @include translateX(0); } }