Line 10: | Line 10: | ||
<cfheader name="X-XSS-Protection" value="1"> | <cfheader name="X-XSS-Protection" value="1"> | ||
− | <link rel="stylesheet" | + | |
− | < | + | <link rel="stylesheet" type="text/css" href="animate.css" /> |
− | < | + | <script src="viewportchecker.js"></script> |
+ | <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <!-- We also need jQuery --> | ||
+ | |||
<script> | <script> | ||
− | + | jQuery(document).ready(function() { | |
− | + | jQuery('.post').addClass("hidden").viewportChecker({ | |
− | }) | + | classToAdd: 'visible animated fadeIn', |
+ | offset: 100 | ||
+ | }); | ||
+ | }); | ||
</script> | </script> | ||
<style> | <style> | ||
− | + | .hidden{ | |
− | + | opacity:0; | |
} | } | ||
− | + | .visible{ | |
− | . | + | opacity:1; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 41: | Line 38: | ||
</head> | </head> | ||
− | + | <br> | |
− | < | + | </br> |
− | < | + | <br> |
− | < | + | </br> |
− | < | + | <br> |
− | + | </br> | |
− | < | + | <br> |
− | <div class=" | + | </br> |
− | + | <br> | |
− | <div class=" | + | </br> |
− | + | <br> | |
− | <div class=" | + | </br> |
− | <div class=" | + | <br> |
− | <div class=" | + | </br> |
− | <div class=" | + | <br> |
+ | </br> | ||
+ | <br> | ||
+ | </br> | ||
+ | <br> | ||
+ | </br> | ||
+ | <br> | ||
+ | </br> | ||
+ | <br> | ||
+ | </br> | ||
+ | <br> | ||
+ | </br> | ||
+ | <br> | ||
+ | </br> | ||
+ | <br> | ||
+ | </br> | ||
+ | |||
+ | <div class="container"> | ||
+ | <div class="post"> test </div> | ||
+ | <div class="post"> test </div> | ||
+ | <div class="post"> test </div> | ||
+ | <div class="post"> test </div> | ||
+ | <div class="post"> test </div> | ||
+ | <div class="post"> test </div> | ||
+ | </div> | ||
Revision as of 06:39, 26 October 2017
test
test
test
test
test
test