| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
60+ Handcrafted CSS animations that are seamless repeatable. All animations in loading.css are designed for both one time and infinitely played. Online demo could be found here (Loading.css - 50+ Seamless Repeatable CSS Animation · Loading.io ).
Loading.css is used in building GIF, APNG and animated SVG in loading.io. Check following links to see how it works:
You can find more about animation generation in loading.io.
<link rel="stylesheet" type="text/css" href="loading.css"/>
you an use a CDN, such as, from jsDelivr:
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/loadingio/loading.css@v2.0.0/dist/loading.min.css"/>
Check the loading.css animation gallery for the animations you want to use. For example, say you want to use the spin animation
Use the name as a CSS class prefixed with ld on the element you want to animate:
<div class="ld ld-spin"></div>
Animations involving fliping ( e.g., rotateX, rotateY, rotateZ ) cause blinking glitches in Safari ( up to version 15.1 ). It's not a loading.css bug but a browser issue which is not yet solved.
A simple workaround is to wrap animated elements within a container with following style:
transform: translate3d(0,0,0)
However this creates a stacking context and may not work well with fixed positioned elements.
MIT License
| Back | FazBrowse Home | New Git URL |