[uf-discuss] parameterized classes?

Lachlan Hunt lachlan.hunt at lachy.id.au
Sat Oct 28 21:12:09 PDT 2006

Charles Iliya Krempeaux wrote:
> On 10/28/06, Lachlan Hunt wrote:
>> Charles Iliya Krempeaux wrote:
>>> I was wondering what people thought about parameterized classes?
>>> <a class="group:x" href="a.html"></a>
>> What's the specific use case where that would actually be useful to a
>> user?  What's the problem you're trying to solve?
> First I should repeat that this is NOT for a Microformat.  Just some
> Semantic HTML for something else.  But having said that...

Ok, then how is it relevant to this list?

> This is for loosely coupled alternates of the same link.
> So that I could say a set of links are "the same" but have them
> anywhere on the page.  Even interwoven with other link groups.

That doesn't answer my question, that just essentially repeats what you 
already said.

>> > .group\:* {
>> >    /* CSS stuff here */
>> > }
>> ... that's not a valid selector.
> How would you suggest writing it?

[class^="group:"], [class*=" group:"] { color: green; }

Lachlan Hunt

More information about the microformats-discuss mailing list