Loading video...

Video Failed to Load

Go Home

TIL about `field-sizing: content` in css

150,940 views • 2 years ago •via X (Twitter)

10 Comments

Jonnie Hallman's profile picture
Jonnie Hallman2 years ago

Looks like this tweet took off overnight… Here’s my blog where I mostly write about building and maintaining an app for the past 10 years:

Jesper Bylund -- e/acc's profile picture
Jesper Bylund -- e/acc2 years ago

What. Is this a new thing?? Or how long has this been available? 😅

Jonnie Hallman's profile picture
Jonnie Hallman2 years ago

Looks like Chrome/Edge got support in March

Antoine Minoux's profile picture
Antoine Minoux2 years ago

Can you still specify a max-height?

Jonnie Hallman's profile picture
Jonnie Hallman2 years ago

Yep! and it works for both vertical autosize and horizontal, so max-width too.

Marco Roth's profile picture
Marco Roth2 years ago

@pooriajr not quite ready yet, but check this out 👆🏼

Nick Noble's profile picture
Nick Noble2 years ago

NO WAY

Gustav Ekerot's profile picture
Gustav Ekerot2 years ago

We need this yesterday

Manish Nikam's profile picture
Manish Nikam2 years ago

this has come so late, should have been a default day 0 feature. deleting this pos react component now.

Christopher / クリス's profile picture
Christopher / クリス2 years ago

Sadly a basically Chrome only feature right now

Related Videos