Skip to content

Instantly share code, notes, and snippets.

@YakovSPb
Last active September 29, 2019 17:32
Show Gist options
  • Save YakovSPb/a405d3b20080fbfb3fa75c52a29fef3f to your computer and use it in GitHub Desktop.
Save YakovSPb/a405d3b20080fbfb3fa75c52a29fef3f to your computer and use it in GitHub Desktop.
animate.css
https://daneden.github.io/animate.css/ - анимация CSS
1. npm install animate.css --save
2. $("h2").animated("fadeInRight");
// ВТОРОЙ ВАРИАНТ
bower install aos --save
'app/libs/aos/dist/aos.js',
@import "../libs/aos/dist/aos.css" // Теперь необходимо казывать расширение .css
HTML
<a href="" " data-aos="zoom-in" data-aos-easing="ease-out-cubic" data-aos-duration="1000"></a>
JS
// CSS ANIMATION
AOS.init();
// END CSS ANIMATION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment