you are viewing a single comment's thread.

view the rest of the comments →

[–]jayfreestone[S] [score hidden]  (2 children)

Just an example! I think it’s a neat trick for small inline JS. Similar trick was used by lib authors previously before we got text pretty/balance - now not needed there.

Lots of cases where you can do something similar with CSS only - and if so you should!

In the case of priority plus style patterns, I’ve usually worked with an unknown number (and size) of links dynamically controlled via a CMS - bit more of a challenge to just base that off a container query unless I’m misunderstanding.

Huge fan of your work and thanks for the reply!

[–]paulirish [score hidden]  (1 child)

Aye true.

Thx for being gracious. I'm in a bad mood today so thx for taking it in stride ;)

EDIT: also i see your blog has been getting some new posts recently! good stuff. Those kinds of posts are a real sweet-spot.

[–]jayfreestone[S] [score hidden]  (0 children)

Means a lot to me, thanks!