mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-29 14:11:21 +01:00
29 lines
891 B
SCSS
29 lines
891 B
SCSS
@if $use-rollIn == true {
|
|
|
|
// originally authored by Nick Pettit - https://github.com/nickpettit/glide
|
|
|
|
@-webkit-keyframes rollIn {
|
|
0% { opacity: 0; -webkit-transform: translateX(-100%) rotate(-$base-degrees * 4); }
|
|
100% { opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); }
|
|
}
|
|
|
|
@-moz-keyframes rollIn {
|
|
0% { opacity: 0; -moz-transform: translateX(-100%) rotate(-$base-degrees * 4); }
|
|
100% { opacity: 1; -moz-transform: translateX(0px) rotate(0deg); }
|
|
}
|
|
|
|
@-o-keyframes rollIn {
|
|
0% { opacity: 0; -o-transform: translateX(-100%) rotate(-$base-degrees * 4); }
|
|
100% { opacity: 1; -o-transform: translateX(0px) rotate(0deg); }
|
|
}
|
|
|
|
@keyframes rollIn {
|
|
0% { opacity: 0; transform: translateX(-100%) rotate(-$base-degrees * 4); }
|
|
100% { opacity: 1; transform: translateX(0px) rotate(0deg); }
|
|
}
|
|
|
|
.rollIn {
|
|
@include animate-prefixer(animation-name, rollIn);
|
|
}
|
|
|
|
}
|