• Stars
    star
    258
  • Rank 158,189 (Top 4 %)
  • Language
    HTML
  • Created almost 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.