Flexible elements which maintain the aspect ratio when resized.

Source: http://www.mademyday.de/css-height-equals-width-with-pure-css.html

Source: http://coding.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/