Загрузка видео...

Не удалось загрузить видео

На главную

TIL about `field-sizing: content` in css

150,898 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля Jonnie Hallman
Jonnie Hallman1 год назад

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
Jesper Bylund -- e/acc1 год назад

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

Фото профиля Jonnie Hallman
Jonnie Hallman1 год назад

Looks like Chrome/Edge got support in March

Фото профиля Antoine Minoux
Antoine Minoux1 год назад

Can you still specify a max-height?

Фото профиля Jonnie Hallman
Jonnie Hallman1 год назад

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

Фото профиля Marco Roth
Marco Roth1 год назад

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

Фото профиля Nick Noble
Nick Noble1 год назад

NO WAY

Фото профиля Gustav Ekerot
Gustav Ekerot1 год назад

We need this yesterday

Фото профиля Manish Nikam
Manish Nikam1 год назад

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

Фото профиля Christopher / クリス
Christopher / クリス1 год назад

Sadly a basically Chrome only feature right now

Похожие видео