News for hackers. Stuff that matters.
Re:CSS Tips by 6510 on Monday April 26, 2021 @03:13PM (#26946706)

  CENTER{LINE-HEIGHT:100VH}
https://jsfiddle.net/pnyr1u8d/

actually, neither of your versions work without specifying a document height. (or outer container)

  .center {
    display: grid;
    place-items: center;
  }
https://jsfiddle.net/a67gzsjf/

something like this would work

https://jsfiddle.net/a67gzsjf/2/

There are no comments on this comment yet.