3 ms·
It's not hard, really: just use absolute centering [1]. That's actually what "margin: auto" is there for in CSS 2.1; it's a shame they were bad at evangelizing
by pcwalton 12y ago
It's not hard, really: just use absolute centering [1]. That's actually what "margin: auto" is there for in CSS 2.1; it's a shame they were bad at evangelizing it.
[1]: http://codepen.io/shshaw/full/gEiDt http://codepen.io/shshaw/full/gEiDt