1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
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;
}
span {
color: green;
}
span div {
color: red;
background: blue;
width: 80%;
}
@media fudge {
span div p {
font-weight: bold;
font-size: 1.2em;
}
span div p a {
text-decoration: underline;
}
}
span div form {
color: orange;
}
@media fudge {
span div form p {
font-weight: bold;
font-size: 1.2em;
}
span div form p a {
text-decoration: underline;
}
}
* html #logo {
background-image: url(/logo.gif);
}
|