-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles-test.scss
87 lines (85 loc) · 1.82 KB
/
styles-test.scss
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// Use this file for testing animations
// Animations
@import "./my-animations.scss";
body {
display: flex;
min-height: 100vh;
margin: 0;
flex-wrap: wrap;
justify-items: center;
align-items: center;
}
.animations {
display: flex;
flex-wrap: wrap;
}
.box {
background: salmon;
width: 200px;
height: 200px;
display: flex;
justify-content: center;
align-items: center;
color: white;
font-weight: 500;
&-fade__in {
background-color: seagreen;
@include fadeIn(1s);
}
&-fade__out {
background-color: steelblue;
@include fadeOut(1s);
}
&-slide__left {
background-color: springgreen;
@include slideLeft(1s);
}
&-slide__right {
background-color: violet;
@include slideRight(1s);
}
&-slide__top {
background-color: wheat;
@include slideTop(1s);
}
&-slide__bottom {
background-color: thistle;
@include slideBottom(1s);
}
&-slide__down {
background-color: yellowgreen;
@include slideDown(1s, 300px);
}
&-slide__up {
background-color: turquoise;
@include slideUp(1s, 300px);
}
&-zoom__in {
background: tomato;
@include zoomIn(1s);
}
&-zoom__out {
background: steelblue;
@include zoomOut(1s);
}
&-bounce__left {
background: slateblue;
border-radius: 50%;
@include bounceLeft(1s);
}
&-bounce__right {
background: sienna;
border-radius: 50%;
@include bounceRight(1s);
}
&-bounce__up {
background: sandybrown;
border-radius: 50%;
@include bounceTop(1s);
}
&-bounce__down {
background: saddlebrown;
border-radius: 50%;
@include bounceBottom(1s);
}
}