| Simple CSS anatomy |
|
|
|
| Tips & Tricks | |
|
A CSS rule is a block of code that formats a markup element (HTML tag) on a web page. The rule's construction starts with a selector, corresponding to a markup element, followed by one or more style declarations sandwiched between curly braces – { }. The style's declaration contains two parts, a property and its value. The property and value are separated by a colon and terminated by a semi-colon.
body {
font-family: Arial, sans-serif;
} h1
#header .button
|



