Open this example in the interactive library
Source code
<div class="demo w-full max-w-60 aspect-video">Widescreen aspect ratio</div>
Widescreen aspect ratio with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo w-full max-w-60 aspect-video">Widescreen aspect ratio</div>