I've always understood that when targeting a div with two classes in SCSS, you should structure it like this:
HTML:
<div class="item active">...</div>
SCSS:
.item {
&.active {
/* add your code here */
}
}
But what about when I want to target an element's after pseudo-element? In CSS, we would normally do something like this:
.item.active:after {
/* add your code here */
}
Any help would be greatly appreciated!