This commit is contained in:
2021-10-30 17:20:26 +03:00
parent 1a29c16bcd
commit cd65398fb0
18 changed files with 855 additions and 290 deletions
+29
View File
@@ -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;
}
}
+5 -1
View File
@@ -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 || {});