Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 386 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 386 Bytes

Lil Togl

CSS toggle based on the :has pseudo class

  • 100% CSS toggle widget.
  • Uses the CSS :has pseudo element selector.
  • If that CSS is feature is not available, falls back to semantically correct <label> and <input type="checkbox">. No fluff elements.
  • Checkbox on left side of the label, toggle on right side of the label.
  • Customize with CSS variables.

Public Domain