loading...
Cover image for inputs type=switch

inputs type=switch

yne profile image Rémy F. Updated on ・1 min read

If you are looking for a Javascript+Jquery+JqueryUI+Grunt way to create a switch: https://naeka.github.io/jquery-switchbutton/

If you're not : you're in the right place.

What's the trick doc ?

We're simply going to disable the <input> appearance, then use a radial-background to display a white toggle on green-or-grey background.

Can I haz animation ?

I don't know, can you animate a radial background ?

(no)

Discussion

markdown guide