css-toggle
v1.0.3
Published
pure css toggle behavior
Downloads
2
Maintainers
Readme
CSS Toggle
pure css toggle behavior
easy, fast, small, useful, no curly stuff
Example
Install
npm install css-toggle --save
Include
@import '/node_modules/css-toggle/dist/toggle.css';
Use
<input type="checkbox" class="toggle" id="{name}" />
<label for="{name}">Toggle</label>
<div class="target">
toggled content
</div>