1.0.4 • Published 1 year ago
pit-spinner v1.0.4
Pit Loader Spinner
To use the pit-loader component, you just need to add this div
<div id="pit-loader"></div>
You can specify parameters
Parameter | Value example | Description |
---|---|---|
data-color | #E9AE24 | Color of the logo |
data-size | 100 | Size of a side of a square |
data-duration | 2s | Total duration of the animation |
Example :
<div
id="pit-loader"
data-color="#E9AE24"
data-size="150"
data-duration="3s"
></div>