Tervix
en

Appearance

Open navigation menu
CSS Tools

CSS Aspect Ratio Generator

Visually configure css aspect ratio and copy production-ready CSS.

Configuration and CSS code remain in your browser.

CSS Aspect Ratio Generator

Preview

CSS preview
CSS
aspect-ratio: 16 / 9;

How to use this aspect ratio

  1. 1

    Adjust each property with the visual controls.

  2. 2

    Check the result in the real-time preview.

  3. 3

    Copy the value, full declaration or export the CSS file.

Production-ready visual CSS

Instant updates

The preview changes with every adjustment.

Reusable code

Copy the value or complete declaration.

No dependencies

The result uses standard CSS properties.

Frequently asked questions

How does aspect ratio work?

The controls are converted into CSS properties and immediately applied to the preview.

Can I use the code in any project?

Yes. Copy the generated declaration and apply it to your project selector.

Does Tervix store my design?

No. Everything is generated locally and resets when the page reloads.

Related CSS generators