I have a scenario when on hover of child element, I want to append a style to the parent element. My code can be seen below, as well as here:
html:
  <body>
    <div>
      <span>hover</span>
    </div>
  </body>
scss:
 span:hover{
   div{
     border:1px solid red;
   }
 }
On hovering over the child text, I need to set the border for the parent div. But it isn't happening that way. Any help would be appreciated.
 
     
     
    