Otter@lemmy.ca to Programming@programming.devEnglish · 3 months agoCSS finally adds vertical centering in 2024build-your-own.orgexternal-linkmessage-square72fedilinkarrow-up1332arrow-down14cross-posted to: webdev@programming.devhackernews@lemmy.smeargle.fans
arrow-up1328arrow-down1external-linkCSS finally adds vertical centering in 2024build-your-own.orgOtter@lemmy.ca to Programming@programming.devEnglish · 3 months agomessage-square72fedilinkcross-posted to: webdev@programming.devhackernews@lemmy.smeargle.fans
minus-squarejol@discuss.tchncs.delinkfedilinkarrow-up9·3 months agoBecause we already have a way to center text horizontally…
minus-squarerefalo@programming.devlinkfedilinkarrow-up3·edit-23 months agoYes but my grief was with the naming… why not call it vertical-center? Just “center” is very confusing to me because it does not include horizontal.
minus-squarejol@discuss.tchncs.delinkfedilinkarrow-up2·3 months agoBecause of consistency with the rest of the box model
Because we already have a way to center text horizontally…
Yes but my grief was with the naming… why not call it vertical-center? Just “center” is very confusing to me because it does not include horizontal.
Because of consistency with the rest of the box model