For the following HTML/CSS code, I am trying to target only level 1 "row" elements and not their nested counterparts. However, when using the child selector, it still selects the nested elements. How can I achieve selecting only level 1 "row" elements?
.content > .row
{
background-color: green;
}
<div class="content">
<div class="row>Level 1 - Row 1</div>
<div class="row>Level 1 - Row 2
<div class="row>Level 2 - Row 1</div>
<div class="row>Level 2 - Row 2</div>
</div>
<div class="row>Level 1 - Row 3</div>
</div>