I have below code in my sass application
<div class="btnGroup">
<div class="kumar"></div>
<div class="pavan">
YourName
<div class="atlanta" href="#">Primary Action</div>
</div>
</div>
I have to apply style to <div class="kumar"></div> .
only if there is a div with class name "Atlanta" as the child in its adjacent(sibling) div as in the above code otherwise i dont want to apply the style. How to do this in .scss file. Please let me know
Note: i have gone through all the solutions for CSS selectors as mentioned below, i didnt got any solution for my problem. Is there a CSS parent selector?