I want to select everything after the div with class="good" and make them disappear.
<div class="amazing">
<div class="good"></div>
"bad text"
<a class="bad"></a>
"worse text"
<a class="worse"></a>
</div>
I tried this but it didn't get rid of the texts.
.amazing a:nth-last-child(n+4) {
display: none !important;
}