nategrift / css-switch

Simple CSS3 Switch using only HTML and CSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS Switch

Simple CSS3 Switch using only HTML and CSS Uses checkbox HTML input element Includes nice smooth animation as well Uses 1 and 0 for on and off

Feel free to use in your projects. I created this as a experiement to give me access to a switch I can use in my projects. Feel free to use.

Example

Gif Example

Switch Example

Default Switch

Default Switch

Active Switch

Active Switch

Contributing

If you want to help improve it, feel free to create a pull request.

If you find an issue please add it to issues!

Thanks! :D

About

Simple CSS3 Switch using only HTML and CSS


Languages

Language:CSS 81.7%Language:HTML 18.3%