{{template.CSSRef()}}
Resumo
@import
é usado para importar folhas de estilos dentro de outras folhas.
Sintaxe
@import "url"; @import "url" media1, media2, ...; @import url("url"); @import url("url") media1;
Notas
So that user agents can avoid retrieving resources for unsupported media types, authors may specify media-dependent @import
rules. These conditional imports specify comma-separated media types after the URI. In the absence of any media types, the import is unconditional. Specifying all
for the medium has the same effect.
Exemplos
@import url("fineprint.css") print; @import url("bluish.css") projection, tv;
Especificações
Compatibilidade com navegadores
Veja também
{{template.Cssxref("@media")}}, {{template.Cssxref("@font-face")}}
Categorias
Interwiki Language Links
{{ wiki.languages( { "en": "en/CSS/@import", "fr": "fr/CSS/@import", "pl": "pl/CSS/@import" } ) }}