[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hyperlinks!
From: |
Danny Milosavljevic |
Subject: |
Re: Hyperlinks! |
Date: |
Mon, 13 Apr 2020 13:26:38 +0200 |
Hi Ludo,
On Mon, 13 Apr 2020 12:58:42 +0200
Ludovic Courtès <address@hidden> 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!
pgpVmOnW8uVU_.pgp
Description: OpenPGP digital signature
Re: Hyperlinks!, Vincent Legoll, 2020/04/13
Re: Hyperlinks!, Vincent Legoll, 2020/04/13