Light Swtich
Decoration for standart html input checkbox by pure CSS without any JS.
Demo
https://codepen.io/exsmund/pen/YzyeKpG
Install
Install with npm: npm install light-switch
.
Or install with yarn: yarn add light-switch
.
Usage
In SCSS:
;
Or just copy CSS from node_modules/checkbox-light-switch/dist/index.css
to your own code.
Light