2014
![](http://blogmarks.net/screenshots/2014/01/24/8654dec8be80f26b8948eb45e55354cb.png)
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.
2010
2009
2008
2006
1
(7 marks)