Hi Ludo, 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!)
<!DOCTYPE html>
<html>
<head>
<style>
a.syntax-symbol {
color: red;
}
a:not(.syntax-symbol) {
background-color: blue;
}
</style>
</head>
<body>
<p><a href="http://www.a.com/">without class</a></p>
<p><a class="syntax-symbol" href="http://www.b.com/">with class</a></p>
</body>
</html>
> Feedback welcome!
Very cool!
pgpPCZawJzYWI.pgp
Description: OpenPGP digital signature
