Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Animation</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
- <script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
- <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
- <!--<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">-->
- <link href="//cdn.rawgit.com/michalsnik/aos/2.1.1/dist/aos.css" rel="stylesheet">
- <script src="//cdn.rawgit.com/michalsnik/aos/2.1.1/dist/aos.js"></script>
- <script>
- $(document).ready(function(){
- for(var i=0;i<50;i++){
- addItem();
- };
- $(".list-group-item:odd").attr("data-aos","fade-right");
- AOS.init();
- });
- function addItem(){
- var act = "fade-left";
- var anchor = "bottom-bottom";
- $("#list").append('<a class="list-group-item" data-aos="'+act+'" data-aos-anchor-placement="'+anchor+'">Item in List</a>');
- }
- </script>
- </head>
- <body>
- <div class="container">
- <h2 data-aos="flip-down" data-aos-duration="1000">Basic List Group</h2>
- <div id="list" class="list-group">
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement