- From: Jo-W <jowie.1337@gmail.com>
- Date: Tue, 11 Jul 2006 10:57:07 +0200
- To: www-style@w3.org
Hello,
I propose extending the grouping of selectors by allowing to group
comma separated lists.
For example:
.mystyle (div,ul,li) {
background: red;
}
would be the equivalent of:
.mystyle div,
.mystyle ul,
.mystyle li
{
background:red;
}
or an even more advanced example:
div#example ((div,ul).mystyle (div, ul, li), span) {
background: red;
}
which is very complex and will be rarely used but shows the power of
this proposed addition.
I am proposing this because I have a complex CSS script which has
block that could be cut down from 9 lines to 1 line (excluding
properties).
Yours sincerely,
Joris v/d Wel
Received on Tuesday, 11 July 2006 16:29:40 UTC