Content
@
0 reply
0 recast
0 reaction
Darryl Yeo đ ïž
@darrylyeo
A serious guide to centering a <div> in CSS â 2024 edition! Soon, `align-content: center;` (without `display: flex;` or `display: grid;`) may be all that you need. https://www.joshwcomeau.com/css/center-a-div/
4 replies
3 recasts
21 reactions
typeof.eth đ”
@typeof.eth
Real ones remember â
1 reply
0 recast
6 reactions
Phil Cockfield
@pjc
This historical difficulty of centring things vertically in CSS was like one of those little "fossil record" hints or clues to where this crazy thing all came from. Publishing scientific "documents" at CERN... not application layout out all. How much cortisol has been spilled failing at the task of centering shit?!
1 reply
0 recast
0 reaction
matt
@matthewmorek
Weâve only waited for this for about 20 years. Finally! đ
0 reply
0 recast
1 reaction
nuflark đ©
@nuflark
Nice!! 100 $DEGEN
0 reply
0 recast
0 reaction