<std-switch>
This page demonstrates how <std-switch>
will work.
The current prototype is not expected to have production-level quality.
It has many bugs and missing features.
margin-inline-start
CSS property support: ❌
(<std-switch> doesn't work in RTL and vertical writing)
:focus-visible
CSS pseudo class support: ❌
(<std-switch> has focus ring on click)
<std-switch>
Vertial wirting
An example of --std-control-theme: match-platform
behavior.
Browsers may apply OS-specific or browser-specific appearance.
navigator.platform: ...