Danny Milosavljevic <[email protected]> writes:
> On Mon, 13 Apr 2020 12:58:42 +0200 > Ludovic Courtès <[email protected]> wrote: > >> (If anyone knows how to get ‘a.syntax-symbol’ CSS different from just >> ‘a’, I’m all ears!) […] > a.syntax-symbol { > color: red; > } > a:not(.syntax-symbol) { > background-color: blue; > } The first definition would suffice if it came after any style definition for just “a”. If this doesn’t work it would be because a more specific rule exists (e.g. “.example div.foo span.bar a”); in that case you just need to define a *more* specific style rule. -- Ricardo
