- From: Alexander Shpack <shadowkin@gmail.com>
- Date: Thu, 30 Sep 2010 00:22:15 +0300
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Sascha Meyer <harlequin2@gmx.de>, www-style@w3.org
On Wed, Sep 29, 2010 at 5:53 PM, Sascha Meyer <harlequin2@gmx.de> wrote:
> Hi W3C-list,
>
> I am wondering if CSS3 will have a mechanism to group child rules for one
> class/id/tag? I had the idea this morning when I had to write rules similar
> to this:
>
> [CSS]
> #header #navigation {. }
> #header #navigation ul {. }
> #header #navigation ul li {. }
> [/CSS]
>
CSS is more flexible than people think.
Assign ID to UL an use
#navigation_into_header li {. }
instead
#header #navigation ul li {. }
Received on Wednesday, 29 September 2010 21:50:10 UTC