Pro@programming.dev to Technology@lemmy.worldEnglish · 27 天前You no longer need JavaScript: an overview of what makes modern CSS so awesomelyra.horseexternal-linkmessage-square43fedilinkarrow-up1224arrow-down112file-text
arrow-up1212arrow-down1external-linkYou no longer need JavaScript: an overview of what makes modern CSS so awesomelyra.horsePro@programming.dev to Technology@lemmy.worldEnglish · 27 天前message-square43fedilinkfile-text
minus-squareClay_pidgin@sh.itjust.workslinkfedilinkEnglisharrow-up1·edit-227 天前Lol, I am on chromium 138 and it still doesn’t work! Nevermind, it was vertical centering. I see. Progress!
minus-squaredreadbeef@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up5·27 天前horizontal centering is justify-content: center
Lol, I am on chromium 138 and it still doesn’t work!
Nevermind, it was vertical centering. I see. Progress!
horizontal centering is
justify-content: center
If display is
flex
.Goes without saying.