Experimental browser for the Atmosphere
Crazy that after all these years I still don't have the right mental model for CSS. Setting a parent to `display: flex` somehow magically allows us to use %-based heights on children, even if the parent does not have an explicit height. Not quite sure why.
Jan 9, 2025, 7:54 AM
{ "uri": "at://did:plc:dchxe5yj5obqjfmrtwn6dwdm/app.bsky.feed.post/3lfc77oab7k2q", "cid": "bafyreidfjmyyut2g6lvp2ju227cxi6tqkasl6vvstlh7tnjbvy2djvdpga", "value": { "text": "Crazy that after all these years I still don't have the right mental model for CSS.\n\nSetting a parent to `display: flex` somehow magically allows us to use %-based heights on children, even if the parent does not have an explicit height. Not quite sure why.", "$type": "app.bsky.feed.post", "langs": [ "en" ], "createdAt": "2025-01-09T07:54:55.822Z" } }