Height equals width with pure CSS

Author: 
Published: June 28, 2013
Link: http://www.mademyday.de/css-height-equals-width-with-pure-css.html
Excerpt: “I was looking for a solution for flexible elements which remain the aspect ratio when resized. Until now I used some Javascript for resizing the elements. But using the resize event and recalculate the height of an element is some kind of nasty and never felt right. “

Tagged with: , ,
Posted in CSS

Categories