mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -13,4 +13,33 @@
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.anim-scale-out {
|
||||
-webkit-animation: scale-out-center 0.15s cubic-bezier(0.2, 0, 0.13, 1.5);
|
||||
animation: scale-out-center 0.15s cubic-bezier(0.2, 0, 0.13, 1.5);
|
||||
}
|
||||
@-webkit-keyframes scale-out-center {
|
||||
0% {
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: scale(0.5);
|
||||
transform: scale(0.5);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
@keyframes scale-out-center {
|
||||
0% {
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: scale(0.5);
|
||||
transform: scale(0.5);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,7 @@
|
||||
/** @module animations */
|
||||
/**
|
||||
* https://animista.net/
|
||||
* @module animations
|
||||
**/
|
||||
kit.PluginManager.register('animations',function(module, exports, require, global) {
|
||||
|
||||
/**
|
||||
@@ -6,6 +9,7 @@ kit.PluginManager.register('animations',function(module, exports, require, globa
|
||||
*/
|
||||
var animations = {
|
||||
scaleIn: 'anim-scale-in',
|
||||
scaleOut: 'anim-scale-out',
|
||||
};
|
||||
|
||||
Object.assign(animations, global.animations || {});
|
||||
|
||||
Reference in New Issue
Block a user