How to apply CSS to first child div element only?
<pre><code>&lt;div class = "node-master"&gt;
  &lt;div class = "node-1"&gt;
    &lt;div class ="node-content"&gt;
      child content 1
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class = "node-2"&gt;
    &lt;div class ="node-content"&gt;
      child content 2
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p><a href="https://i.stack.imgur.com/cwa2H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cwa2H.png" alt="enter image description here"></a></p>

<p>In example above, I need to target "child content 1" CSS class to apply a different font color. However, the caveat is I cannot target <code>node-1</code> directly because of how the HTML is being generated (dynalist.io app). </p>

<p>The setting dictating "child content 1" CSS syntax is from <code>node-master</code>.</p>

<p>Basically, what I need to do is have a CSS class that uses node-master and applies its properties to the first child <code>&lt;div&gt;</code></p>