Board Thread:Support Requests - Getting Technical/@comment-188432-20130129023903/@comment-2026043-20130129170118

CzechOut wrote: ... what I wonder is whether there's a single css selector for the Wikia skin buttons such that if you change its shape or colour, you don't need to change that element as you get to more and more specific buttons. ..so you want cascading styles, no? A style that is applied to the parent element of a family, and then passes down to every "child" element.

Well, since you do not have complete control over to what styles are applied on each element in wikia, I don't see how you can do this without !important on the father, or without explicitly overwriting the same rule on every child element you want styled as its parent.

It would work without either of these if you knew for certain that child elements with higher specificity do not have rules that overwrite their inherited rules.