nth-child On Individual Letters and Words

Authored on
Wed, 12/06/2023 - 07:00
Body

I want to start playing with the typography inspirations I am finding on 1950s era Jazz album covers. I thought nth-child would come to the rescue for this but looks like you can't get at words or letter with it.

A bit of digging around and I found the javascript for what I need called Lettering.js. It gets you spans on individual words and letter where you need it. It does it in an a11y compliant way as well which rules.

Tried it out for about 20 minutes and it was very fun. Definitely a tool, used with some restraint, I am going to use a bunch in the future.

 

Today's Albums