Menu

Let’s Use the Nonexistent ::nth-letter Selector Now | CSS-Tricks
🖼️

Let’s Use the Nonexistent ::nth-letter Selector Now | CSS-Tricks

CSS-Tricks·Lee Meyer·6 months ago
#1WvJKmTN
#css-tricks#c97a7a#f432a0#shadowroot#letter
Reading 0:00
15s threshold

“I think I’m done with reality.”

— The Seventh Circle by Architects

We’ve all, at some point, had the thought that CSS sucks . Indeed, the overhyped buzz around the new pretext.js library as a “CSS killer” reflects how much we all want to strangle CSS at times

Someday in the future, CSS might answer back: “No, you are the one who sucks at CSS . Here’s the CSS Parser API . Go make your own styling language and see how close any alternative is to perfect .”

Well, CSS, you’ve been teasing me since 2017 with the possibility of that API, which I hoped would let me create my own CSS syntax, but no such thing materialized.

And while I am venting, since 2003 we’ve asked over and over and over for ::nth-letter , which seems like a natural suggestion.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.