Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

TIL about `field-sizing: content` in css

150,940 Aufrufe • vor 2 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Jonnie Hallman
Jonnie Hallmanvor 2 Jahren

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:

Profilbild von Jesper Bylund -- e/acc
Jesper Bylund -- e/accvor 2 Jahren

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

Profilbild von Jonnie Hallman
Jonnie Hallmanvor 2 Jahren

Looks like Chrome/Edge got support in March

Profilbild von Antoine Minoux
Antoine Minouxvor 2 Jahren

Can you still specify a max-height?

Profilbild von Jonnie Hallman
Jonnie Hallmanvor 2 Jahren

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

Profilbild von Marco Roth
Marco Rothvor 2 Jahren

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

Profilbild von Nick Noble
Nick Noblevor 2 Jahren

NO WAY

Profilbild von Gustav Ekerot
Gustav Ekerotvor 2 Jahren

We need this yesterday

Profilbild von Manish Nikam
Manish Nikamvor 2 Jahren

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

Profilbild von Christopher / クリス
Christopher / クリスvor 2 Jahren

Sadly a basically Chrome only feature right now

Ähnliche Videos