cm0002@lemmy.world to Programmer Humor@programming.dev · 2 years agoProgrammers then and nowlemmy.mlimagemessage-square187linkfedilinkarrow-up11.2Karrow-down141cross-posted to: programmerhumor@lemmy.ml
arrow-up11.16Karrow-down1imageProgrammers then and nowlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 years agomessage-square187linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareMadhuGururajan@programming.devlinkfedilinkEnglisharrow-up1·2 years agouse display: flex flex-direction: column align-items: center on the parent container
use
display: flexflex-direction: columnalign-items: centeron the parent container