REC #78 Cascading Style Sheets level 2 CSS2 Specification

in
0
Your rating: None
Sorry, you need to install flash to see this content.

: nmstart [a-zA-Z]|{nonascii}|{escape} nonascii[\0-\177] unicode \\[0-9a-f]{1,6}[ \n\r\t\f]? escape {unicode}|\\[ -~\200-\4177777] nmchar [a-z0-9-]|{nonascii}|{escape} num [0-9]+|[0-9]*\.[0-9]+ string {string1}|{string2} string1 \"([\t !#$%&(-~]|\\{nl}|\'|{nonascii}|{escape})*\" string2 \'([\t !#$%&(-~]|\\{nl}|\"|{nonascii}|{escape})*\' nl \n|\r\n|\r|\f w [ \t\r\n\f]* Below is the core syntax for CSS. The sections that follow describe how to use it. Appendix D describes a more restrictive grammar that is closer tothe CSS level 2 language. stylesheet : [ CDO | CDC | S | statement ]*; statement : ruleset | at-rule; at-rule : ATKEYWORD S* any* [ block | ';' S* ]; block : '{' S* [ any | block | ATKEYWORD S* | ';' ]* '}' S*; ruleset : selector? '{' S* declaration? [ ';' S* declaration? ]* '}' S*; selector : any+; declaration : property ':' S* value;property : IDENT S*; value : [ any |

Recent tutorial posts