Currently browsing tag


CSS3 iPhone-y toggle

In order to have an iOS-style toggle that scales nicely, I used a simple media query and a CSS3 widget for my company’s touch site.  Here’s an adaptation of it with my own Javascript; feel free to reuse the code as you wish.  The JS listens for clicks on the …