2016-11-17 8 views

答えて

3

単にCSSを:notセレクタを使用

CSS

a[target="_BLANK"]:not(.skip-this) { 
    color: red; 
} 

a[target="_BLANK"]:not(.skip-this) { 
 
    color: red; 
 
}
<a href="" target="_BLANK" class="skip-this">Hello</a> 
 
<a href="" target="_BLANK">Hello</a>

関連する問題