Browse Source

Add zoom transition

pull/5282/merge
Jack 6 years ago
parent
commit
d32b2eba16
1 changed files with 32 additions and 0 deletions
  1. 32
      src/themes/default/modules/transition.overrides

32
src/themes/default/modules/transition.overrides

@ -776,6 +776,38 @@
}
/*--------------
Zoom
---------------*/
.transition.zoom.in {
animation-name: zoomIn;
}
.transition.zoom.out {
animation-name: zoomOut;
}
@keyframes zoomIn {
0% {
opacity: 1;
transform: scale(0);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes zoomOut {
0% {
opacity: 1;
transform: scale(1);
}
100% {
opacity: 1;
transform: scale(0);
}
}
/*******************************
Static Animations
*******************************/

Loading…
Cancel
Save