Maintain a <div>’s Aspect Ratio

How do you maintain an element’s aspect ratio?

See the Pen CSS Aspect Ratio by Lauren Pittenger (@lepittenger) on CodePen.29414

Leave a Comment

Your email address will not be published. Required fields are marked *