Is there a way to get the parent of a child element in SCSS?
html
<div>
    <span>test1</span>
</div
<div>
    <p>dsdfds</p>
</div>
In the above example how can I style only the parent of an span element?
Is there a way to get the parent of a child element in SCSS?
html
<div>
    <span>test1</span>
</div
<div>
    <p>dsdfds</p>
</div>
In the above example how can I style only the parent of an span element?
 
    
    