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

On Wed, May 7, 2014 at 4:52 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
> 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.

Yup.

(And here's the set of things we've deferred:
http://dev.w3.org/csswg/selectors/deferred-for-level-5 )

~TJ

Received on Wednesday, 7 May 2014 16:57:24 UTC