Author: | equinusocio |
---|---|
Views Total: | 398 views |
Official Page: | Go to website |
Last Update: | March 13, 2020 |
License: | Apache-2.0 |
Preview:

Description:
Just another CSS library that provides 27 awesome check interactions for checkboxes similar to the checkbox.css.
To apply check interactions to radio buttons, here is a CSS library called radiobox.css you might find useful.
Interactions Included:
- Splash
- Zoom
- OMG
- TV
- Jump
- Up
- Yo
- Inout
- Roll
- Rotate
- Metal
- Rubber
- Boom
- Jelly
- Smokin
- Rewind
- Boing
- Flush
- Rollin
- Tadà
- Flag
- Wave
- Pulse
- Vibration
- Ghost
- Flip
- Pepe
See It In Action:
How to use it:
1. Install and download the package.
# NPM $ npm install ckd-css --save
2. Import the ckd-css
into your project.
import 'ckd-css/dist/pulse.css';
3. Or directly insert the stylesheet into your html document.
<!-- From Local --> <link rel="stylesheet" href="./ckd.css" /> <!-- Or From CDN --> <link rel="stylesheet" href="https://unpkg.com/ckd-css/dist/ckd.css" />
4. Add an animation class to your checkbox element using the data-ckd
attribute:
<label> <input type="checkbox" data-ckd="splash"/> Splash </label>
5. Another example showing how to apply an interation to custom checkboxes.
<label for="CustomCheckbox"> <span class="CustomCheckbox" role="checkbox" data-ckd="splash" id="CustomCheckbox" aria-checked="true"> <input type="checkbox"> </span> Input label </label>