Skip to content

CSS trick/bug to display a brighter white by exploiting browsers' HDR capability and Apple's EDR system

Notifications You must be signed in to change notification settings

kiding/wanna-see-a-whiter-white

Repository files navigation

wanna-see-a-whiter-white

Visit https://fff.kidi.ng for the demo.

How does this work?

By combining an HDR video with CSS hack, the white color of the text becomes even brighter.

#whiter {
  filter: brightness(10);
  backdrop-filter: brightness(1);
}

When a HDR-capable browser encounters one, it switches to HDR mode. The exact reason for this behavior is not yet known.

About

CSS trick/bug to display a brighter white by exploiting browsers' HDR capability and Apple's EDR system

Topics

Resources

Stars

Watchers

Forks