mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-30 22:41:22 +01:00
34 lines
712 B
SCSS
34 lines
712 B
SCSS
|
@if $use-pulse == true {
|
||
|
|
||
|
// originally authored by Nick Pettit - https://github.com/nickpettit/glide
|
||
|
|
||
|
@-webkit-keyframes pulse {
|
||
|
0% { -webkit-transform: scale(1); }
|
||
|
50% { -webkit-transform: scale(1.1); }
|
||
|
100% { -webkit-transform: scale(1); }
|
||
|
}
|
||
|
|
||
|
@-moz-keyframes pulse {
|
||
|
0% { -moz-transform: scale(1); }
|
||
|
50% { -moz-transform: scale(1.1); }
|
||
|
100% { -moz-transform: scale(1); }
|
||
|
}
|
||
|
|
||
|
@-o-keyframes pulse {
|
||
|
0% { -o-transform: scale(1); }
|
||
|
50% { -o-transform: scale(1.1); }
|
||
|
100% { -o-transform: scale(1); }
|
||
|
}
|
||
|
|
||
|
@keyframes pulse {
|
||
|
0% { transform: scale(1); }
|
||
|
50% { transform: scale(1.1); }
|
||
|
100% { transform: scale(1); }
|
||
|
}
|
||
|
|
||
|
.pulse {
|
||
|
@include animate-prefixer(animation-name, pulse);
|
||
|
}
|
||
|
|
||
|
}
|