Streaming live at 10am (PST)

Change visibility of child element through class?

Is it possible to link some style property of a child to a class attached to an ancestor (like parent)?

I’m working on a step bar for progress indication, and right now I have to assign “completed” classes to various element up and down the element tree, all below the Step container DIV.

I would be nice to tie these properties (like visibility and color) to just one container DIV by Javascript code.