You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The <dfnclass=css-codedata-dfn-type=at-ruledata-export="" id=at-ruledef-import><aclass=cssdata-link-type=maybehref=#at-ruledef-importtitle=@import>@import</a><aclass=self-linkhref=#at-ruledef-import></a></dfn> rule allows users to import style rules from other style sheets.
146
146
Any <aclass=cssdata-link-type=maybehref=#at-ruledef-importtitle=@import>@import</a> rules must precede all other at-rules and style rules in a style sheet
147
-
(besides <aclass=cssdata-link-type=maybehref=http://www.w3.org/TR/css3-syntax/#charsettitle=@charset>@charset</a>, which must be the first thing in the style sheet if it exists),
147
+
(besides <aclass=cssdata-link-type=maybehref=http://www.w3.org/TR/css3-syntax/#at-ruledef-charsettitle=@charset>@charset</a>, which must be the first thing in the style sheet if it exists),
148
148
or else the <aclass=cssdata-link-type=maybehref=#at-ruledef-importtitle=@import>@import</a> rule is invalid.
149
149
The syntax of <aclass=cssdata-link-type=maybehref=#at-ruledef-importtitle=@import>@import</a> is:
is defined by the <ahref=http://www.w3.org/TR/css3-mediaqueries/>Media Queries</a> specification <adata-biblio-type=normativedata-link-type=bibliohref=#mediaqtitle=mediaq>[MEDIAQ]</a>.
186
186
If the media query does not match,
187
187
the rules in the imported stylesheet do not apply,
188
-
exactly as if the imported stylesheet were wrapped in an <aclass=cssdata-link-type=maybehref=http://www.w3.org/TR/css3-syntax/#media0title=@media>@media</a> block with the given media query.
188
+
exactly as if the imported stylesheet were wrapped in an <spanclass=cssdata-link-type=maybetitle=@media>@media</span> block with the given media query.
189
189
User agents may therefore avoid fetching a media-dependent import
0 commit comments