CSS properties inheritance and overriding in a nested HTML structure
Text in the snippet basically explains itself what I want to achieve. I want inner divs, that do not have a bg-
class, to inherit border color, but then, if color changes, deeper divs then have that color inherited. I don’t really have control over how deep nesting happens or how divs are structured and how (to which divs) color class names are assigned.