Image Loading Display Effects (8 Effects)
Add-ons

Plugin description: Many websites now use a fade-out effect when images are loading. How is it implemented? Below, we'll use Loading Effects for Grid Items to achieve this effect.
Many websites now use a fade-out effect when images are loading. How is it implemented? Below, we'll use Loading Effects for Grid Items to achieve this effect.
Usage Instructions
Reference
1 2 3 4 | <script src="js/masonry.pkgd.min.js"></script><script src="js/imagesloaded.js"></script><script src="js/classie.js"></script><script src="js/AnimOnScroll.js"></script> |
html
1 2 3 4 5 6 7 | <ul class="grid effect-4" id="grid"> <!-- ... --></ul> |
css
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | /* Effect 4: fall perspective */.grid.effect-4 { perspective: 1300px;} .grid.effect-4 li { transform-style: preserve-3d;} .grid.effect-4 li.animate { transform: translateZ(400px) translateY(300px) rotateX(-90deg); animation: fallPerspective .8s ease-in-out forwards;} @keyframes fallPerspective { 100% { transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }} |
评论