Refine "CSS import statement".
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 28 Jan 2017 15:29:35 +0200
changeset 2071 15c3e60f7faa
parent 2070 8ae2aee591e7
child 2072 72921b56230b
Refine "CSS import statement".
css.rst
--- a/css.rst	Sat Jan 28 15:27:12 2017 +0200
+++ b/css.rst	Sat Jan 28 15:29:35 2017 +0200
@@ -130,15 +130,23 @@
  * https://www.w3.org/TR/css3-selectors/#selectors
  * https://www.w3.org/TR/CSS/#selectors
 
-CSS include statement
-=====================
-::
+CSS import statement
+====================
 
+Any ``@import`` rules must precede all other at-rules and style rules in a style
+sheet (besides ``@charset``)::
+
+  @import "common.css";
   @import url("common.css");
 
-Include statment supports media query syntax::
+Import statment supports media query syntax::
 
-  @import url(print.css) print;
+  @import url("print.css") print;
+  @import url("bluish.css") projection, tv;
+  @import url("narrow.css") handheld and (max-width: 400px);
+
+https://www.w3.org/TR/css-cascade-3/#at-import
+   Importing Style Sheets: the @import rule.
 
 Including font
 ==============