-
Notifications
You must be signed in to change notification settings - Fork 0
/
_main.scss
51 lines (49 loc) · 863 Bytes
/
_main.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
/**
* PARTY PARROT SASS MIXIN!!!!!
* ----------------------------
* 2017 Ændrew Rininsland (@aendrew)
*
* I am so, so sorry.
*/
@mixin parrot($prop: background-color, $speed: 0.5s, $direction: normal) {
$uniq: unique_id();
animation-name: #{$uniq}__parrot;
animation-duration: $speed;
animation-direction: $direction;
animation-iteration-count: infinite;
@keyframes #{$uniq}__parrot {
0% {
#{$prop}: #FD8E8D;
}
10% {
#{$prop}: #FDD58E;
}
20% {
#{$prop}: #8CFD8E;
}
30% {
#{$prop}: #8CFFFE;
}
40% {
#{$prop}: #8DB6FB;
}
50% {
#{$prop}: #D690FC;
}
60% {
#{$prop}: #FD90FD;
}
70% {
#{$prop}: #FD6EF4;
}
80% {
#{$prop}: #FC6FB6;
}
90% {
#{$prop}: #FD6A6B;
}
100% {
#{$prop}: #FD8E8D;
}
}
}