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
1 recast
22 reactions
typeof.eth 🔵
@typeof.eth
Real ones remember ✊
1 reply
0 recast
5 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