mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
38 lines
526 B
SCSS
Executable File
38 lines
526 B
SCSS
Executable File
//
|
|
// Fade in
|
|
// --------------------------------------------------
|
|
|
|
@include keyframes(fade-in) {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.fade-in {
|
|
@include animation(fade-in 0.2s);
|
|
}
|
|
|
|
@include keyframes(fade-in-snap) {
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
|
|
//
|
|
// Fade out
|
|
// --------------------------------------------------
|
|
|
|
@include keyframes(fade-out) {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
.fade-out {
|
|
@include animation(fade-out 0.5s);
|
|
} |