使用yarn, npm, bower安装:
yarn add aos
npm install aos --save
bower install aos --save
CDN来源
css
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
js
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
使用
<script> AOS.init();</script>