Course lesson
Use CSS aspect-ratio to prescribe an aspect ratio for an element
In this lesson, we take a look at the CSS aspect-ratio property and see how we can define different aspect ratios for elements.
- Duration
- 1 min
- Access
- Free
- Transcript
- Needs source
In this lesson, we take a look at the CSS aspect-ratio property and see how we can define different aspect ratios for elements.
Check for browser compatibility.