News for hackers. Stuff that matters.
Re:New CSS Features in Firefox 68 by Izkata on Wednesday July 31, 2019 @06:55PM (#20579458)
I mean, if we're going for multiple attributes anyway, this has worked since long before flexbox:

On the parent:

  position: relative;
On the element to be centered:

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

There are no comments on this comment yet.