Re: [csswg-drafts] [css-mediaqueries-5] nav-controls future proofing concerns (should each control have its own feature?) (#6785)

`@media` allows to combine multiple queries via `and` and `or` and negate them via `not`. With those you can check for the different cases you mention.

"none" is covered by `@media (nav-controls: none)`, "back only" by `@media (nav-controls: back) and not (nav-controls: share)`, "share" by `@media (nav-controls: share) and not (nav-controls: back)` and "back and share" by `@media (nav-controls: back) and (nav-controls: share)`.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6785#issuecomment-956167509 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 1 November 2021 11:50:42 UTC