Introducing a new HTML form control called a switch. It has the look and feel of the OS control, is backward compatible, and supports styling. It is recommended to use a switch when the end user understands the element as a setting, and a checkbox when it is something to be selected.
Table of contents
Switch versus checkboxExperimental ::thumb and ::track pseudo-elementsFeedback appreciated1 Comment
Sort: