mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2025-06-08 14:31:28 +02:00
CSS files converted to Sass. Some style fixes. Created file with sponsors.
This commit is contained in:
parent
1a5c529669
commit
a45174a1e4
851 changed files with 19814 additions and 5533 deletions
30
_sass/vendor/animations/attention-seekers/_bounce.scss
vendored
Normal file
30
_sass/vendor/animations/attention-seekers/_bounce.scss
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
@if $use-bounce == true {
|
||||
|
||||
@-webkit-keyframes bounce {
|
||||
0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}
|
||||
40% {-webkit-transform: translateY(-$base-distance * 3);}
|
||||
60% {-webkit-transform: translateY(-$base-distance * 1.5);}
|
||||
}
|
||||
|
||||
@-moz-keyframes bounce {
|
||||
0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
|
||||
40% {-moz-transform: translateY(-$base-distance * 3);}
|
||||
60% {-moz-transform: translateY(-$base-distance * 1.5);}
|
||||
}
|
||||
|
||||
@-o-keyframes bounce {
|
||||
0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
|
||||
40% {-o-transform: translateY(-$base-distance * 3);}
|
||||
60% {-o-transform: translateY(-$base-distance * 1.5);}
|
||||
}
|
||||
@keyframes bounce {
|
||||
0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
|
||||
40% {transform: translateY(-$base-distance * 3);}
|
||||
60% {transform: translateY(-$base-distance * 1.5);}
|
||||
}
|
||||
|
||||
.bounce {
|
||||
@include animate-prefixer(animation-name, bounce);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue