1.0.3 • Published 8 years ago

css-toggle v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

ScreenShot

CSS Toggle

pure css toggle behavior

easy, fast, small, useful, no curly stuff

Example

ScreenShot

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>