Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

css media query support Range Context #2108

Open
juner opened this issue Feb 10, 2025 · 0 comments
Open

css media query support Range Context #2108

juner opened this issue Feb 10, 2025 · 0 comments
Labels
bugfix-request A request for a bugfix to be developed.

Comments

@juner
Copy link

juner commented Feb 10, 2025

Name of the lexer
css

Code sample

@media (width > 100px) {
    :root {
        color: red;
    }
}

Image

https://rouge.jneen.net/v4.5.1/css/QG1lZGlhICh3aWR0aCA-IDEwMHB4KSB7CiAgICA6cm9vdCB7CiAgICAgICAgY29sb3I6IHJlZDsKICAgIH0KfQoK

Additional context

2.4.3. Evaluating Media Features in a Range Context - CSS Media Queries Level 4
https://www.w3.org/TR/mediaqueries-4/#mq-range-context

Media Queries: Range Syntax | Can I use... Support tables for HTML5, CSS3, etc
https://caniuse.com/css-media-range-syntax

@juner juner added the bugfix-request A request for a bugfix to be developed. label Feb 10, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bugfix-request A request for a bugfix to be developed.
Projects
None yet
Development

No branches or pull requests

1 participant