ikt@aussie.zone to Lemmy Shitpost@lemmy.world · 2 days agoHow to centre a divfiles.catbox.moevideomessage-square31fedilinkarrow-up1264arrow-down11
arrow-up1263arrow-down1videoHow to centre a divfiles.catbox.moeikt@aussie.zone to Lemmy Shitpost@lemmy.world · 2 days agomessage-square31fedilink
minus-squaredual_sport_dork 🐧🗡️@lemmy.worldlinkfedilinkEnglisharrow-up5·2 days agoUh-huh. Now ask it how to center a div vertically.
minus-squaref314@lemmy.worldlinkfedilinkarrow-up5·2 days ago.container { display: grid; place-items: center; } The real answer is of course, as in most cases, “it depends.”
Uh-huh. Now ask it how to center a div vertically.
.container { display: grid; place-items: center; }The real answer is of course, as in most cases, “it depends.”