mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
40 lines
954 B
SCSS
40 lines
954 B
SCSS
|
|
// Animation Mixins
|
|
// --------------------------------------------------
|
|
|
|
|
|
@mixin animation($animation) {
|
|
-webkit-animation: $animation;
|
|
animation: $animation;
|
|
}
|
|
|
|
@mixin animation-duration($duration) {
|
|
-webkit-animation-duration: $duration;
|
|
animation-duration: $duration;
|
|
}
|
|
|
|
@mixin animation-direction($direction) {
|
|
-webkit-animation-direction: $direction;
|
|
animation-direction: $direction;
|
|
}
|
|
|
|
@mixin animation-timing-function($animation-timing) {
|
|
-webkit-animation-timing-function: $animation-timing;
|
|
animation-timing-function: $animation-timing;
|
|
}
|
|
|
|
@mixin animation-fill-mode($fill-mode) {
|
|
-webkit-animation-fill-mode: $fill-mode;
|
|
animation-fill-mode: $fill-mode;
|
|
}
|
|
|
|
@mixin animation-name($name...) {
|
|
-webkit-animation-name: $name;
|
|
animation-name: $name;
|
|
}
|
|
|
|
@mixin animation-iteration-count($count) {
|
|
-webkit-animation-iteration-count: $count;
|
|
animation-iteration-count: $count;
|
|
}
|