Instruction: Describe a method to maintain an element's aspect ratio as the viewport size changes.
Context: This question tests the candidate's ability to implement responsive design techniques for maintaining aspect ratios of elements.
easy
hard