Pro@programming.dev to Technology@lemmy.worldEnglish · 2 days agoYou no longer need JavaScript: an overview of what makes modern CSS so awesomelyra.horseexternal-linkmessage-square38fedilinkarrow-up1204arrow-down19file-text
arrow-up1195arrow-down1external-linkYou no longer need JavaScript: an overview of what makes modern CSS so awesomelyra.horsePro@programming.dev to Technology@lemmy.worldEnglish · 2 days agomessage-square38fedilinkfile-text
minus-squareClay_pidgin@sh.itjust.workslinkfedilinkEnglisharrow-up1·edit-21 day agoLol, I am on chromium 138 and it still doesn’t work! Nevermind, it was vertical centering. I see. Progress!
minus-squaredreadbeef@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up4·1 day agohorizontal 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.