Here is the scenario I am dealing with:
<div class="parent">
<div class"routeA">
<div class="header">
<li></li>
<li class="p-highlight"></li>
<li></li>
</div>
</div>
<div class="parent">
<div class="content">
</div>
</div>
</div>
My goal is to style the .content section in two ways:
- When .p-highlight is not associated with the first li, I want the border-radius to be 6px.
- When .p-highlight is paired with the first li, I need the border-radius to be 0px on top and 6px on the bottom.
Can this be achieved?