HDR accent
@media (dynamic-range: high) {
.glow {
color: color(display-p3 1 0.85 0.2);
}
}
The dynamic-range media feature reports whether the output device supports standard or high dynamic range. Use it to enhance highlights carefully on HDR screens.
@media (dynamic-range: high) {
.hero { color: color(display-p3 1 0.9 0.2); }
}@media (dynamic-range: high) {
.glow {
color: color(display-p3 1 0.85 0.2);
}
}dynamic-range is a CSS media feature.
Treat as progressive enhancement.
Bottom line: Keep usable default styles outside the query.
Browse CSS property tutorials.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful