News for hackers. Stuff that matters.
Re:The Tilde is an Amazing CSS Selector by alanh on Thursday May 17, 2012 @01:08AM (#3985535)
“…sibling element. That is, an element that shares the same parent.”

Unfortunately, that is not true. It only matches following siblings.

See my JSFiddle demo: http://jsfiddle.net/alanhogan/sSVCG/

(Also, HTML comments between elements apparently mess up IE7 and IE8.)

There are no comments on this comment yet.