Browse documentation

Reference / Borders

Corner radius

Round a whole box, a single edge, or an individual corner using the radius scale.

Working example

Use overflow-hidden on a rounded wrapper when child artwork should follow the same curved outline.

HTML
<div class="rounded-t-xl rounded-br-[2rem] bg-black px-5 py-3 text-white">
  Folded corner
</div>

Class reference

ClassCSS declarations
rounded-noneborder-radius: 0;
roundedborder-radius: .375rem;
rounded-lgborder-radius: .625rem;
rounded-fullborder-radius: 9999px;
rounded-t-xlborder-top-left-radius: .875rem; border-top-right-radius: .875rem;
rounded-ss-lgborder-start-start-radius: .625rem;
rounded-br-[2rem]border-bottom-right-radius: 2rem;
View full generated CSS
Compiled CSS
.rounded {
  border-radius: .375rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: .625rem;
}
.rounded-none {
  border-radius: 0;
}
.rounded-t-xl {
  border-top-left-radius: .875rem;
  border-top-right-radius: .875rem;
}
.rounded-br-\[2rem\] {
  border-bottom-right-radius: 2rem;
}
.rounded-ss-lg {
  border-start-start-radius: .625rem;
}