While reading a post at the Meta Discourse forum
one of the suggested solutions was to use CSS to
However, though there are child elements that can be targeted, the containing element can not be. Thus some of the other child elements will still display.
If one could change the HTML a class or Id could be added, but as it is now there are none.
eg. transitions, animations and other "API" methods
In a October 21, 2010 post by @chriscoyier
Parent Selectors in CSS
he mentioned how handy having a parent selector would be.
Counter arguments included
- it would be too resource intensive
- it would be giving authors a "gun" to "shoot themselves in the foot with"
As to the first, perhaps not so much of a concern 5 years later?
As to the second, I'm not buying it, there are already plenty of "guns" that cause problems.