public marks

PUBLIC MARKS from Spone with tags css & vertical

This year

Vertical align anything with just 3 lines of CSS

With just 3 lines of CSS (excluding vendor prefixes) we can with the help of transform: translateY vertically center whatever we want, even if we don’t know its height.

2009

In the Woods - Vertical Centering With CSS

by 1 other (via)
There are a few different ways to vertically centre objects with CSS, but it can be difficult to choose the right one. I’ll show you all the best ways I’ve seen and also how to create a nice little centered website.