Recreating the iOS 5 Switch Control with HTML5, CSS3 and a Bit of ECMAScript 5
The final result of this post will run in iOS 5, Safari 5.1, as well as the latest versions of Chrome, Firefox and Opera.
Previously I had created a version of the switch control in iOS. With the launch of iOS5 Apple complete updated the look of the switch control. They went with a rounded style, which they also did with most controls in their desktop operating system, Lion.
View original post 1,309 more words