@Media Prefers Dark/Light

@Media Prefers Dark/Light

Use CSS to adjust the default colors on a site based on the users color preferences in their OS. Try using the Chrome Dev Tools rendering tab to test this.

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

Curated: 
11.21.19

Similar items

Items
2781
Search

Fix Overflow Hidden and Border Radius Mobile Bug

1.2.23

Effect All Siblings on Hover With CSS

8.30.22

Custom Text Underline Offset, Size and Color

2.19.22

CSS Halftone Overlay Effect

9.20.21

Finsweet Normalize CSS Embed

9.2.21

Restock

View Restock

Prefers Reduced Motion Media Query

7.28.21

Multi-line Truncate

4.4.21

Accessible Modal

3.4.21

Superscript All Registered(®) Trademark Characters

7.13.20

Webflow Lightbox Custom Overlay Color

2.28.20

Custom Scrollbar

2.27.20

Text Bottom Border Animation on Hover

2.5.20

Resetting Apple Default Form Styles

12.4.19

Customizing Text Selection Color

12.4.19

Single Line Truncate

12.4.19

CSS Aspect-Ratio

11.21.19

CSS Scroll Snap

11.21.19

Scroll to accordion on open

6.25.24

Hide Section if Child CMS Collection is Empty in Webflow

4.2.24

Dark/Light Mode Favicon Images

9.12.23

Skip to Main Nav Link

6.14.23

Custom Webflow Multi-select Input

1.10.23

CSS Logo Marquee / Ticker

5.25.22

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.

Subscribe