Open this example in the interactive library
Source code
<div class="demo rounded-t-2xl">Round only the top corners</div>
Round only the top corners with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo rounded-t-2xl">Round only the top corners</div>