Re: [selectors] Self-referential link pseudo-class

On 07/05/2014 12:46, Antony Kennedy wrote:
> Also, I’m not sure how one would target only the exact URL that you are
> currently on (excluding hash, etc)?
>
> In my previous example:
>
>>>> <ul>
>>>> <li><a href=“home.html“>Home</a></li>
>>>> <li><a href=“about.html“>About us</a></li>
>>>> </ul>
>
> …when on home.html, how would style just that link?

I believe that’s :local-link without parentheses.

-- 
Simon Sapin

Received on Wednesday, 7 May 2014 11:52:40 UTC