Chance @chance.dev · Nov 26

Desperate CSS request: please make it simpler to keep inline elements on the same line as the last word of adjacent text. This pattern is only as old as time.

12 likes 4 replies

?

Replies

Andrew Aquino · Nov 26

this is what `text-wrap: pretty;` is for right? it's nice and simple but browser support is not great, missing Firefox/Safari :( codepen.io/aqandrew/pen...

Chance · Nov 26

renewing the call css-tricks.com/a-call-for-n...

Nathan Knowler · Nov 27

Gotta love HTML whitespace. 🫠 I made a “custom element” for this a while back (it just uses a valid custom element name and some CSS — it isn’t actually a custom element registered with JS or anything). `<dang-svg>` for your dangling SVGs: codepen.io/knowler/pen/...

paco · Nov 27

here u go underline-eight.vercel.app