by grimtrigger · 12y ago · 0 comments
You can create elements that maintain their aspect ratio using width:100% and padding-bottom:100%. Unintuitive, since you wouldn't expect padding-bottom to be based of the width.
http://stackoverflow.com/questions/1495407/css-a-way-to-main...
No comments yet.