This isn’t a comprehensive guide to centering things. We have that!
This is just a little observation about old and new. One of the trickier things related to centering in CSS is when you need to center both vertically and horizontally and you don’t know the width or height of what you are centering. Vertical centering being the extra tricky of the two.
Believe it or not, there was a way to do that even in IE 8. The trick …
The post Centering: The Newest Coolest Way vs. The Oldest Coolest Way appeared first on CSS-Tricks.