Mastering CSS Subgrid: Unlock Advanced Web Layouts

  Рет қаралды 1,626

Finsweet

Finsweet

Күн бұрын

Пікірлер: 6
@webbae
@webbae Ай бұрын
What I found is that in design mode, Webflow creates a style attached to the grid id with minmax(75px, auto) even though on the UI it shows the rows as auto. Similar to the .wf-empty class which has padding right and bottom of 75px, it makes things selectable in designer mode. If you switch the preview mode, everything works as expected! As you ended up doing, we can manually override the grid-template-rows property with minmax(min-content, max-content). In my playground, I used CSS Custom properties to set grid-template-rows: auto !important. Then everything works as expected in designer!
@olliemcmillan
@olliemcmillan Ай бұрын
Ahhhh that's why we have default 75px padding on empty divs. Every day is a school day!
@vipulkumar1725
@vipulkumar1725 Ай бұрын
Amazing
@rolandaichhorn4146
@rolandaichhorn4146 Ай бұрын
Great explained, thanks!
@stinkleaf
@stinkleaf Ай бұрын
Sounds like the old days of layouts with nested tables and spans.
@davidschaer
@davidschaer Ай бұрын
i now know less then before 😵‍💫
Learn CSS Subgrid in 14 minutes
14:19
Slaying The Dragon
Рет қаралды 86 М.
ЛУЧШИЙ ФОКУС + секрет! #shorts
00:12
Роман Magic
Рет қаралды 37 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 15 МЛН
CMS Bridge Launch!
15:08
Finsweet
Рет қаралды 3,2 М.
The problem with mobile-first CSS
13:53
Kevin Powell
Рет қаралды 129 М.
Level up your Webflow forms with StudioForm
1:05:40
Finsweet
Рет қаралды 1,2 М.
How to Get a Developer Job - Even in This Economy [Full Course]
3:59:46
freeCodeCamp.org
Рет қаралды 3,1 МЛН
Build CSS grid layouts in Webflow - Web design tutorial
14:16
You can't do this without subgrid
10:49
Kevin Powell
Рет қаралды 17 М.
ЛУЧШИЙ ФОКУС + секрет! #shorts
00:12
Роман Magic
Рет қаралды 37 МЛН