7 ms·
There are, in-fact, and have been for a while several known ways do do this in CSS 2.1 this just being another with a similar long list of restrictions and cont
by pete_b 13y ago
There are, in-fact, and have been for a while several known ways do do this in CSS 2.1 this just being another with a similar long list of restrictions and context requirements.
http://css-tricks.com/centering-in-the-unknown/ http://css-tricks.com/centering-in-the-unknown/
They're all much of a muchness, at least we'll be able to just use flexbox soon enough.