CSS only dark mode toggle with the :has() selector

site profile thumbnail
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.

More sites by Web Bae

See profile

Similar sites