0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/assets/sass/modules/animations.scss

52 lines
1 KiB
SCSS
Raw Normal View History

/*
* Reusable keyframe animations
*
* Table of Contents
*
* Off-Canvas
* Fade In
* Fade Out
*/
2014-02-23 09:07:01 -05:00
/* ==========================================================================
Off-Canvas
========================================================================== */
@include keyframes(off-canvas) {
from {
opacity: 0;
}
to {
opacity: 1;
}
2014-02-23 09:07:01 -05:00
}
/* ==========================================================================
Fade In
TODO: Make the fadeIn keyframe name hyphenated, not camelCase
========================================================================== */
2014-02-23 09:07:01 -05:00
@include keyframes(fadeIn) {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* ==========================================================================
Fade Out
TODO: Make the fadeIn keyframe name hyphenated, not camelCase
========================================================================== */
@include keyframes(fade-out) {
from {
opacity: 1;
}
to {
opacity: 0;
}
}