Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

TIL about `field-sizing: content` in css

150,898 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von Jonnie Hallman
Jonnie Hallmanvor 1 Jahr

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 1 Jahr

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

Profilbild von Jonnie Hallman
Jonnie Hallmanvor 1 Jahr

Looks like Chrome/Edge got support in March

Profilbild von Antoine Minoux
Antoine Minouxvor 1 Jahr

Can you still specify a max-height?

Profilbild von Jonnie Hallman
Jonnie Hallmanvor 1 Jahr

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

Profilbild von Marco Roth
Marco Rothvor 1 Jahr

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

Profilbild von Nick Noble
Nick Noblevor 1 Jahr

NO WAY

Profilbild von Gustav Ekerot
Gustav Ekerotvor 1 Jahr

We need this yesterday

Profilbild von Manish Nikam
Manish Nikamvor 1 Jahr

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

Profilbild von Christopher / クリス
Christopher / クリスvor 1 Jahr

Sadly a basically Chrome only feature right now

Ähnliche Videos