| 1 |
div { /* with a content block */ name: foo; stuff: content for foo; name: bar; stuff: content for bar; stuff: content for foo; /* without */ name: foo; name: bar; stuff: content for bar; } |
| 2 |
|
| 3 |
span { color: green; } |
| 4 |
span div { color: red; background: blue; width: 80%; } |
| 5 |
@media fudge { span div p { font-weight: bold; font-size: 1.2em; } |
| 6 |
span div p a { text-decoration: underline; } } |
| 7 |
span div form { color: orange; } |
| 8 |
@media fudge { span div form p { font-weight: bold; font-size: 1.2em; } |
| 9 |
span div form p a { text-decoration: underline; } } |
| 10 |
|
| 11 |
* html #logo { background-image: url(/logo.gif); } |