- From: Barry Pannebaker <barry@pannebaker.com>
- Date: Sat, 23 Sep 2006 18:45:12 -0400
- To: <www-style@w3.org>
Is it the intention of CSS3 to define descendant class selectors, such as
*.insert *.example {...}?
For example:
body { background-color: white;
color: black;
}
*.example { color: blue;
}
*.insert { background-color: blue;
color: white;
}
*.insert *.example
{ background-color: blue;
color: aqua;
}
<p>This text would be black, against a white background.</p>
<p class="example">This text would be blue, against a white background.</p>
<div class="insert">This text would be white, against a blue background.
<p class="example">This text would be aqua, against a blue
background.</p>
</div>
Barry
Received on Saturday, 23 September 2006 22:45:31 UTC