👁️Aspect Ratio
Also known as Image Ratio, 16:9, Frame Ratio
The shape of an image, written as width to height, like 16:9.
Think of it like
It is like the shape of a window. Wide and short, or square, or tall and thin.
Example
Mia's video is 16:9, but she needs a square post. She crops it to 1:1 and keeps her face in the middle.
Why it matters
Each screen and feed has its own shape. The wrong ratio gets cropped or framed in black bars.
Definition
Example code
css
.video {
width: 100%;
aspect-ratio: 16 / 9;
}Common mistake
Key takeaways
- 1Width to height. 16:9, 4:3, 1:1.
- 2Shape, not size. Big and small can share one.
- 3Crop, do not stretch. Stretching squashes things.