If I want to select an element with ID "Parent" and all of its descendants, I can do this:
#Parent, #Parent * { ... }
My question is: Is there a single selector that is equivalent to the above that doesn't require repeating #Parent twice?
In other words, is there a single selector that can select an element and all of its descendants at once?
Here is a snippet to play with, where #left, #left * and #right, #right * are the selectors of interest:
#layout { display: flex; }
#layout > div { flex: 1 }
#layout * { border: 1px solid black; margin: 4px; padding: 4px; }
/* #left _and_ its descendants */
#left, #left * { border-color: #f0f; }
/* #right _and_ its descendants */
#right, #right * { border-color: #0ff; }
<div id="layout">
<div id="left">
<div>test</div>
<div><span>test</span><span>test</span></div>
<div>test</div>
</div>
<div id="right">
<div>test</div>
<div><span>test</span><span>test</span></div>
<div>test</div>
</div>
</div>