Re: [css3-selectors] Selectors is a Proposed Recommendation

Le 16/12/09 08:59, Patrick Garies a écrit :

> Given that these are edge cases (who uses |[attr$=""]| in real code?)

I saw a lot things like the following:

a[href$=".pdf"]:after {
   content: " (PDF document)";
}

And I used it myself in another context, storing page-related data
in a user-defined attribute and triggering styles based both on the
first 3 chars and the 3 last chars of the attribute value. Very handy.

</Daniel>

Received on Wednesday, 16 December 2009 08:53:29 UTC