The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Target first word in list Re: Target first word in list


There is no such pseudo class as `:first-word.`

You would need to wrap the word in a span and add a class to that to affect it…but then you’re gonna have a span in a span.

That’s OK but it looks like you have images in there too which seems a little odd.

Do you have a live link?