Toggle Dark Mode with CSS :has()

Toggle Dark Mode with CSS :has()

The CSS :has() selector can be used to toggle dark mode, light mode, and themes with zero Javascript, just HTML and CSS. :has() finally arrived in all major browsers, having dropped in Firefox December 2023.

Have feedback or a question related to this item? Drop us some feedback!

Curated: 
1.14.24

Similar items

Advertise with No-Code Supply Co.

View item
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

SVGator

3.27.24

Disruptive Technology Index

3.27.24

Hothouse

3.26.24

MØDDEN

3.25.24

Phind

3.22.24

Thenty

3.22.24

Qudrix

3.21.24

The Generalist

3.21.24

xSync Webflow App

3.21.24

Saddle

3.21.24

Thread

3.20.24

Curation of Curations

3.20.24

Insert Frame

3.20.24

How to make numbers count using Webflow interactions

3.20.24

ToyJoy

3.20.24

Fabric

3.18.24

Yulia

3.18.24

Cycle

3.18.24

Navbar Gallery

3.18.24

Koala UI

84,99€
3.17.24

Matt Stobo

3.17.24

CSS Only Animations

3.16.24

Cloudinary

3.16.24

Unicorn Studio

3.16.24

Para

3.15.24

Reshape

3.15.24

Superorganism

3.15.24

The Bang

3.15.24

Kreyda

3.15.24

Way

3.15.24

Interface Friends at Config

3.14.24

TopTier Miami Rentals

3.14.24

Side School

3.14.24

Tom Parkes

3.12.24

Creators Guild of America

3.12.24

Daniel Sun

3.12.24

Flatpickr

3.12.24

Baseborn

3.12.24

Glide

3.12.24

Juice

3.11.24

Mollie

3.11.24

Axon Evidence

3.10.24

Teachable

3.10.24

SaaS Website Kit

3.10.24

Unspace

3.10.24

404s

3.7.24

Lattice State of People Strategy Report 2024

3.7.24

EmergentX

3.6.24

Zylon

3.5.24

Cortex

3.5.24

Anchor

3.5.24

Attiq R.

3.4.24
Load more

Bummer, no results

Try a different search/filter combo, or drop us some feedback if there is something missing you would love to see!

Reset filters

Subscribe for updates

Get updates on the latest curated resources and be the first to hear of new features.