Question · HTML and CSS course · Module 9: Modern CSS
Element Proportions with aspect-ratio
What does the aspect-ratio: 16 / 9 property do in CSS?
Answer options
- Forces the element to maintain a 16:9 width-to-height ratio
- Scales images to 1920x1080 resolution
- Creates a grid with 16 columns and 9 rows
- Sets the font size to 16/9 pixels
You can check the correct answer by solving this task in the CodeWorlds game.