as inline CSS using @media if the media type is a phrase? How do you install as built-in if this is not one ...">

CSS: How to set <link media = "/"> as inline CSS using @media if the media type is a phrase?

How do you install as built-in if this is not one of the words listed in single-word media types? (http://www.w3.org/TR/CSS2/media.html#media-types )

<link media="only screen and (max-device-width:480px)" href="iphone.css" type="text/css" rel="stylesheet" />

The type of portable media is ignored by the iPhone, but I would suggest that the external call above would be in a format like this:

@media handheld
  {
  body {margin:0; padding:0;}
  }
+3
source share
1 answer

See example V at http://www.w3.org/TR/css3-mediaqueries/

@media screen and (color), projection and (color) {...}

+1
source

Source: https://habr.com/ru/post/1735697/


All Articles