ariutta-loading
Simple loading style CSS
How To Use
The parent of your content container element must have the following styles set:
Option 1: Add via HTML
Reference ariutta-loading.css
from your HTML page and add the class ariutta-loading
to your content container element:
<!-- when your content has loaded, remove the ariutta-loading class -->
Option 2: Add via JS
- Install:
npm install --save ariutta-loading
- Require this module:
require('ariutta-loading');
- Set the
ariutta-loading
class on your content container element (be sure parent element styles are set as specified above)
Acknowledgments
Thanks to https://github.com/lukehaas/css-loaders for CSS used as starting point.