css.rst
changeset 2071 15c3e60f7faa
parent 2070 8ae2aee591e7
child 2228 837f1337c59b
equal deleted inserted replaced
2070:8ae2aee591e7 2071:15c3e60f7faa
   128 
   128 
   129  * https://www.w3.org/TR/CSS2/selector.html
   129  * https://www.w3.org/TR/CSS2/selector.html
   130  * https://www.w3.org/TR/css3-selectors/#selectors
   130  * https://www.w3.org/TR/css3-selectors/#selectors
   131  * https://www.w3.org/TR/CSS/#selectors
   131  * https://www.w3.org/TR/CSS/#selectors
   132 
   132 
   133 CSS include statement
   133 CSS import statement
   134 =====================
   134 ====================
   135 ::
   135 
   136 
   136 Any ``@import`` rules must precede all other at-rules and style rules in a style
       
   137 sheet (besides ``@charset``)::
       
   138 
       
   139   @import "common.css";
   137   @import url("common.css");
   140   @import url("common.css");
   138 
   141 
   139 Include statment supports media query syntax::
   142 Import statment supports media query syntax::
   140 
   143 
   141   @import url(print.css) print;
   144   @import url("print.css") print;
       
   145   @import url("bluish.css") projection, tv;
       
   146   @import url("narrow.css") handheld and (max-width: 400px);
       
   147 
       
   148 https://www.w3.org/TR/css-cascade-3/#at-import
       
   149    Importing Style Sheets: the @import rule.
   142 
   150 
   143 Including font
   151 Including font
   144 ==============
   152 ==============
   145 ::
   153 ::
   146 
   154