53
Comments
  • 6
  • 0
    @git-gud Omg yes! ❤️
  • 0
    .parent { text-align: center; }
    .child, .child::after { display: inline-block; vertical-align: middle; }

    Mooooove bitch! Get outta waaaaay!

    Btw, flexbox makes centering trivial, no more that css jazz

    (i totally can relate tho)
  • 0
    @git-gud yo wtf how did I not know about that site, that is a game changer
  • 1
    display:flex;
    text-align:center;

    justify-content:center;
    align items:center;

    i learned about flex from tje lovely golks right here on devrant!
Add Comment