CSS2 Test Suite: 6.3 @import

[index page] [section] [Previous] [Next] [Specification]

The style declarations contained within this page:

@import "styleimport.css";
@import url(folder/styleimport.css);

/* This line resets any browsers that got confused by the @import lines */
.ignored { color: black; }

.style { font-weight: bold; color: green; background: silver none; }


The style declaration applied in each following case is: {font-weight: bold; color: green; background: silver none;}.

1. Inline style (style attribute).

2. Embedded stylesheet (style element).

3. Stylesheet imported by embedded stylesheet.

4. Stylesheet in another folder imported by embedded stylesheet.


[index page] [section] [Previous] [Next] [Specification]