cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoProgrammers then and nowlemmy.mlimagemessage-square173linkfedilinkarrow-up11.17Karrow-down138cross-posted to: programmerhumor@lemmy.ml
arrow-up11.13Karrow-down1imageProgrammers then and nowlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square173linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareKorhaka@sopuli.xyzlinkfedilinkEnglisharrow-up2·2 days agoIt’s easy, just use @media and padding to the left side of the div to put it in the centre for each screen size.
minus-squareHorse {they/them}@lemmygrad.mllinkfedilinkEnglisharrow-up2·2 days agodiv { margin: auto; }
It’s easy, just use @media and padding to the left side of the div to put it in the centre for each screen size.
div { margin: auto; }