A CSS library for loading animations
npm install vtx-css-loaderssh
npm install vtx-css-loaders
`
---
🚀 Usage
$3
Import the library in your main CSS file:
`css
@import 'vtx-css-loaders/dist/loaders.min.css';
`
Now, you can use the loaders in your HTML:
`html
`
---
$3
If you want to use the library without npm, you can load it via a CDN :
`html
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/vtx-css-loaders/dist/loaders.min.css"
/>
`
---
$3
If you want full control, you can copy the CSS file into your project:
`sh
cp node_modules/vtx-css-loaders/dist/loaders.min.css styles/custom-loaders.css
`
Modify styles/custom-loaders.css as needed.
---
🎨 Customization (CSS Variables)
Instead of editing the library, you can override CSS variables in your own stylesheet:
`css
:root {
--loader-color: red;
--loader-size: 30px;
}
``