cm0002@lemmy.world to Programmer Humor@programming.dev · 2 years agoProgrammers then and nowlemmy.mlimagemessage-square49linkfedilinkarrow-up1608
arrow-up1608imageProgrammers then and nowlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 years agomessage-square49linkfedilink
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