Index > Test > CSS > Browsers > @import rule

Test of the @import rule

This DIV is to be black
This DIV is to be blue
This DIV is to be green
This DIV is to be orange
This DIV is to be red
This DIV is to be yellow

This page CSS file: [meimport.css]

CSS file contents:
@import url("[path]blue.css"); /* all ok */
@import url('[path]red.css'); /* all ok */
@import url([path]default.css); /* all ok */
@import "[path]orange.css" alL; /* win ie 6 false */
@import "[path]green.css" all; /* win ie 6 false */
@import "[path]yellow.css" projection, screen; /* win ie 6 false */

Note:
In the CSS 'default.css' (black), class 'black' is written with '!important' rule and is repeated in the 'green.css' but without '!important' so can not be override. If you erase '!important' in 'default.css' or add it in 'green.css', the color of black DIV will become gray.

[orWell.ru Tests] [CSSy] [Browsers] ~ [CSS off]

[orwell.ru] [Home] [Biography] [Library] [A Life] [Info & (c)] [Links] [Site map] [Search] [Feedback]

© 1999-2004 O. Dag – ¡C. date: 2003-12-12 & L. mod.: 2015-09-24!

печать картонных папок в Москве по хорошим ценам