nested scss, css
why does the nested scss not working but plain css does?
.text-container {
&:hover {
.text-container__name {
background-color: blue;
}
}
} .text-container {
&:hover {
&__name {
background-color: blue;
}
}
}