- From: Alan Gresley <alan@css-class.com>
- Date: Wed, 13 Jan 2010 23:25:34 +1100
- To: Niels Matthijs <niels.matthijs@internetarchitects.be>
- CC: www-style list <www-style@w3.org>
Niels Matthijs wrote: > Hi all, > > > > I'm quite sure that someone before me must've thought about this, or > maybe I just didn't look closely enough at the latest specs, but I > believe we are missing an important css combinator. > > For the full explanation you can check the following article: > http://www.onderhond.com/blog/work/missing-css-combinator > > In short, I'd like something between the space and child combinator. A > combinator that allows for an (x) number of levels between parent and > child, but stops at the first matching level it hits. (snip) > Greets, > > Niels Matthijs > > Internet Architects Would this be a possible solution. .focusBlock>header, .focusBlock *>header { // style rules // } or .focusBlock>header, .focusBlock>* header { // style rules // } -- Alan http://css-class.com/
Received on Wednesday, 13 January 2010 12:26:25 UTC