<div class = "node-master">
<div class = "node-1">
<div class ="node-content">
child content 1
</div>
</div>
<div class = "node-2">
<div class ="node-content">
child content 2
</div>
</div>
https://i.sstatic.net/cwa2H.png
In the example provided, my objective is to select the CSS class for "child content 1" in order to change its font color. However, the challenge lies in the fact that I cannot directly target node-1
due to the nature of how the HTML code is dynamically generated (specifically in the dynalist.io app).
The key defining the CSS syntax for "child content 1" originates from node-master
.
To address this issue, what I aim to achieve is the creation of a CSS class that leverages node-master and applies its characteristics to the initial child <div>