A CodePen by vince falconi. Preceding Selector Sorrow - I wish I could use ^E + F or ^E ~ F to style a preceding element based on whether F exists.