Answer the question
In order to leave comments, you need to log in
How to exclude id using not pseudo-element?
Hello!
There is a code:
a[href^="http://"]:not([href*="site.ru"]):not([class]):after,
a[href^="https://"]:not([href*="site.ru"]):not([class]):after {
content: "" url('/images/external.png');
padding-left:5px;
}
Answer the question
In order to leave comments, you need to log in
To exclude a specific ID:
a[href^="http://"]:not([href*="site.ru"]):not([class]):not(#hotlog_counter):after,
a[href^="https://"]:not([href*="site.ru"]):not([class]):not(#hotlog_counter):after {
}
a[href^="http://"]:not([href*="site.ru"]):not([class]):not([id]):after,
a[href^="https://"]:not([href*="site.ru"]):not([class]):not([id]):after {
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question