Otter to [email protected]English • 2 months agoCSS finally adds vertical centering in 2024build-your-own.orgexternal-linkmessage-square67fedilinkarrow-up11arrow-down10cross-posted to: [email protected]programming
arrow-up11arrow-down1external-linkCSS finally adds vertical centering in 2024build-your-own.orgOtter to [email protected]English • 2 months agomessage-square67fedilinkcross-posted to: [email protected]programming
minus-square@[email protected]linkfedilink0•2 months agoBecause we already have a way to center text horizontally…
minus-square@[email protected]linkfedilink0•edit-22 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-square@[email protected]linkfedilink0•2 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