Answer the question
In order to leave comments, you need to log in
Why doesn't a[rel="external"] style work in CSS?
Hello everyone! I added a property to CSS but for some reason it doesn't work. It's not about the cache, and it's not about another style interrupting it. It's like it doesn't even apply.
Tell me where to dig?
Here is the link code
<div class="fsa">
<div class="text">
<p>
<a href="#" target="_blank" rel="noopener external noreferrer">Google Chrome</a>
</p>
</div>
</div>
.fsa .text a[rel="external"] {background:red}
Answer the question
In order to leave comments, you need to log in
Because a[rel~="external"]
Dig towards documentation https://developer.mozilla.org/en/docs/Web/CSS/Attr...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question