KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
On Mozilla's page about media queries , it says: The only keyword hides style sheets from older browsers that don't support media queries: <link rel="stylesheet" media="only screen and (color)" href="example.css" /> However, further down the page it also says, Media queries involving unknown media types are always false. So how can a browser not supporting media queries show the stylesheet when it's set to screen and (color) ? It wouldn't understand and color so shouldn't show it? And if Mozilla is referring to browsers with literally zero support for the media attribute, why would adding only stop them from showing the stylesheet? Can anyone explain the process by which older browsers parse (or don't) the media attribute?
Tags (comma-separated)
Save Edits
Cancel