# Aspect Ratio

Control the Aspect Ratio of elements

How is this different than setting a static width and height?

When you use an aspect-ratio to define proportions, the element can shrink and grow with its parent container while still maintaining its proportions. This is useful when working with images in fluid containers. Learn more about aspect ratio here (opens new window).

# Examples

# An image with a 16x9 ratio

# An image with a 4x3 ratio

# SCSS

For examples using SCSS, view the Aspect Ratio Utilities.

# API for Vue Components

# SkyRatio

Props
Slots