+ 1
What is the difference between screen only and screen in css?
3 Réponses
+ 4
screen is against print or other media type, list:
https://www.w3.org/TR/CSS2/media.html
only is used to prevent older browsers that do not support media queries with media features from applying the specified styles.
https://www.google.com/amp/s/www.geeksforgeeks.org/what-is-the-difference-between-screen-and-only-screen-in-media-queries/amp/
The keyword ‘only’ can also be used to hide style sheets from older user agents. User agents must process media queries starting with ‘only’ as if the ‘only’ keyword was not present.
https://stackoverflow.com/questions/8549529/what-is-the-difference-between-screen-and-only-screen-in-media-queries
not screen only
is only screen
only must be before screen
0
about media query?
0
yes, it's about media query