CSS text-box is newly baseline, and it's solves a common text layout issue. Here's how it works:
CSS text-box is newly baseline, and it's solves a common text layout issue. Here's how it works:
0 vue
Publié le 19/08/2026 13:19
CSS text-box is newly baseline, and it's solves a common text layout issue. Here's how it works:
I am very much not hyped about this.
I think it's better to just call `text` as `normal` since that's what it is: do nothing—it's less confusing. I think the W3C Editors' Draft also left a note asking if `text` is a good choice. Maybe you can suggest it?
It also aligns with `text-box: normal;` shorthand.
This is a feature I've been wanting for a long time, as I know many of you have too.
So a huge thanks to Sajid for making it happen!