Loading video...

Video Failed to Load

Go Home

TIL about `field-sizing: content` in css

150,898 views • 1 year ago •via X (Twitter)

10 Comments

Jonnie Hallman's profile picture
Jonnie Hallman1 year 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/acc1 year ago

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

Jonnie Hallman's profile picture
Jonnie Hallman1 year ago

Looks like Chrome/Edge got support in March

Antoine Minoux's profile picture
Antoine Minoux1 year ago

Can you still specify a max-height?

Jonnie Hallman's profile picture
Jonnie Hallman1 year ago

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

Marco Roth's profile picture
Marco Roth1 year ago

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

Nick Noble's profile picture
Nick Noble1 year ago

NO WAY

Gustav Ekerot's profile picture
Gustav Ekerot1 year ago

We need this yesterday

Manish Nikam's profile picture
Manish Nikam1 year 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 / クリス1 year ago

Sadly a basically Chrome only feature right now

Related Videos