SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 62 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


Statements
A CSS style sheet is composed from a list of statements. A statement is either an
at-rule (p. 25) or a rule set (p. 26). The following example has two statements; the
first is an at-rule that is delimited by the semicolon at the end of the first line, and
the second is a rule set that is delimited by the closing curly brace, }:
@import url(base.css);
h2 {
color: #666;
font-weight: bold;
}
At-rules
An at-rule is an instruction or directive to the CSS parser. It starts with an
at-keyword: an @ character followed by an identifier (p. 43). An at-rule can comprise
a block delimited by curly braces, {}, or text terminated by a semicolon, ;. An
at-rule??™s syntax will dictate whether it needs a block or text??”see At-rules Reference
(p. 47) for more information.
Parentheses, brackets, and braces must appear as matching pairs and can be nested
within the at-rule. Single and double quotes must also appear in matching pairs.
Here??™s an example of an at-rule that requires a block??”the @media (p.


Pages:
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6