all, screen, print, tv, braille, handheld, ...
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="printfriendly.css" media="print" />
<link rel="stylesheet" type="text/css" media="screen and (max-device-width: 800px)"
href="style800.css" />
#nav {float: right;}
#nav ul {list-style: none;}
@media screen and (min-width: 400px) and (orientation: portrait)
{
#nav li {float: right; margin: 0 0 0 .5em; border:1px solid #000000;}
}
@media screen and (min-width: 800px)
{
#nav { width: 200px; }
#nav li {float: left; margin: 0 0 0 .5em; border: none;}
}
width, height, device-width, device-height, orientation, aspect-ratio,
device-aspect-ratio, color, color-index, monochrome, resolution, scan, grid
1rem : font-size:100%
dans élément html
(16px/défaut)1em : font-size:100%
dans élément courantresult = target/context
<picture>
,
<source>
srcset
et sizes
srcset
srcset
et sizes
<picture>, <source>
<picture>
<picture>
et srcset