File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -393,8 +393,16 @@ <h2 id=resolution-units><span class=secno>2. </span> Resolution Units: the
393393 class =css > 96dpi</ code > ’. This corresponds to the default resolution
394394 of images displayed in CSS: see ‘< a href ="#image-resolution0 "> < code
395395 class =property > image-resolution</ code > </ a > ’.
396- <!-- ====================================================================== -->
397-
396+
397+ < div class =example >
398+ < p > The following @media rule uses Media Queries < a href ="#MEDIAQ "
399+ rel =biblioentry > [MEDIAQ]<!--{{MEDIAQ}}--> </ a > to assign some special
400+ style rules to devices that use two or more device pixels per CSS
401+ ‘< code class =css > px</ code > ’ unit:
402+
403+ < pre > @media (min-resolution: 2dppx) { ... }</ pre >
404+ </ div >
405+ <!-- ====================================================================== -->
398406
399407 < h2 id =image > < span class =secno > 3. </ span > Image Values: the <image> type</ h2 >
400408
Original file line number Diff line number Diff line change @@ -146,6 +146,13 @@ <h2 id='resolution-units'>
146146 CSS ''px'', ''1dppx'' is equivalent to ''96dpi''. This corresponds to
147147 the default resolution of images displayed in CSS: see 'image-resolution'.
148148
149+ < div class ="example ">
150+ < p > The following @media rule uses Media Queries [[MEDIAQ]] to assign
151+ some special style rules to devices that use two or more device pixels
152+ per CSS ''px'' unit:
153+ < pre > @media (min-resolution: 2dppx) { ... }</ pre >
154+ </ div >
155+
149156<!-- ====================================================================== -->
150157
151158< h2 id ="image ">
You can’t perform that action at this time.
0 commit comments