CSS Demo: aspect-ratio
Reset
Interactive examples cannot be shown because JavaScript is disabled.
This feature is not supported by your current browser. Check Browser compatibility for more details.
aspect-ratio: auto;
Copy to Clipboard
aspect-ratio: 1 / 1;
Copy to Clipboard
aspect-ratio: 16 / 9;
Copy to Clipboard
aspect-ratio: 0.5;
Copy to Clipboard
Copied!