- From: Marat Tanalin | tanalin.com <mtanalin@yandex.ru>
- Date: Thu, 16 Aug 2012 19:07:14 +0400
- To: Tab Atkins Jr. <jackalmage@gmail.com>
- Cc: Greg Houston <gregory.houston@gmail.com>,fantasai <fantasai.lists@inkedblade.net>,"www-style@w3.org" <www-style@w3.org>
16.08.2012, 18:46, "Tab Atkins Jr." <jackalmage@gmail.com>: > Instead of "p - ul" (select a <ul> whose following sibling is a <p>), > do "!ul + p". Same selector as always, but the ! tells the engine > which element is the "subject" of the selector. > > As Marat says, you can combine this with :matches() if you then want > to chain off of the element. Marat said this combination is horrible compared with previous-sibling combinator.
Received on Thursday, 16 August 2012 15:07:44 UTC