Animations

This commit is contained in:
John O'Nolan 2014-07-30 07:41:35 +03:00
parent 2faa4a75f9
commit b6d61cd0da

View File

@ -0,0 +1,38 @@
//
// 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);
}