Border Radius

Defines the radius of an element's corners.

ClassProperties
border-noroundborder-radius: 0;
border-roundborder-radius: var(--border-radius);
border-round-xsborder-radius: 0.125rem;
border-round-smborder-radius: 0.25rem;
border-round-mdborder-radius: 0.375rem;
border-round-lgborder-radius: 0.5rem;
border-round-xlborder-radius: 0.75rem;
border-round-2xlborder-radius: 1rem;
border-round-3xlborder-radius: 1.5rem;
border-circleborder-radius: 50%;
border-noround-leftborder-top-left-radius: 0;
border-bottom-left-radius: 0;
border-noround-topborder-top-left-radius: 0;
border-top-right-radius: 0;
border-noround-rightborder-top-right-radius: 0;
border-bottom-right-radius: 0;
border-noround-bottomborder-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-round-leftborder-top-left-radius: var(--border-radius);
border-bottom-left-radius: var(--border-radius);
border-round-topborder-top-left-radius: var(--border-radius);
border-top-right-radius: var(--border-radius);
border-round-bottomborder-bottom-left-radius: var(--border-radius);
border-bottom-right-radius: var(--border-radius);
border-round-rightborder-top-right-radius: var(--border-radius);
border-bottom-right-radius: var(--border-radius);
border-round-left-xsborder-top-left-radius: 0.125rem;
border-bottom-left-radius: 0.125rem;
border-round-top-xsborder-top-left-radius: 0.125rem;
border-top-right-radius: 0.125rem;
border-round-bottom-xsborder-bottom-left-radius: 0.125rem;
border-bottom-right-radius: 0.125rem;
border-round-right-xsborder-top-right-radius: 0.125rem;
border-bottom-right-radius: 0.125rem;
border-round-left-smborder-top-left-radius: 0.25rem;
border-bottom-left-radius: 0.25rem;
border-round-top-smborder-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
border-round-bottom-smborder-bottom-left-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
border-round-right-smborder-top-right-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
border-round-left-mdborder-top-left-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
border-round-top-mdborder-top-left-radius: 0.375rem;
border-top-right-radius: 0.375rem;
border-round-bottom-mdborder-bottom-left-radius: 0.375rem;
border-bottom-right-radius: 0.375rem;
border-round-right-mdborder-top-right-radius: 0.375rem;
border-bottom-right-radius: 0.375rem;
border-round-left-lgborder-top-left-radius: 0.5rem;
border-bottom-left-radius: 0.5rem;
border-round-top-lgborder-top-left-radius: 0.5rem;
border-top-right-radius: 0.5rem;
border-round-bottom-lgborder-bottom-left-radius: 0.5rem;
border-bottom-right-radius: 0.5rem;
border-round-right-lgborder-top-right-radius: 0.5rem;
border-bottom-right-radius: 0.5rem;
border-round-left-xlborder-top-left-radius: 0.75rem;
border-bottom-left-radius: 0.75rem;
border-round-top-xlborder-top-left-radius: 0.75rem;
border-top-right-radius: 0.75rem;
border-round-bottom-xlborder-bottom-left-radius: 0.75rem;
border-bottom-right-radius: 0.75rem;
border-round-right-xlborder-top-right-radius: 0.75rem;
border-bottom-right-radius: 0.75rem;
border-round-left-2xlborder-top-left-radius: 1rem;
border-bottom-left-radius: 1rem;
border-round-top-2xlborder-top-left-radius: 1rem;
border-top-right-radius: 1rem;
border-round-bottom-2xlborder-bottom-left-radius: 1rem;
border-bottom-right-radius: 1rem;
border-round-right-2xlborder-top-right-radius: 1rem;
border-bottom-right-radius: 1rem;
border-round-left-3xlborder-top-left-radius: 1.5rem;
border-bottom-left-radius: 1.5rem;
border-round-top-3xlborder-top-left-radius: 1.5rem;
border-top-right-radius: 1.5rem;
border-round-bottom-3xlborder-bottom-left-radius: 1.5rem;
border-bottom-right-radius: 1.5rem;
border-round-right-3xlborder-top-right-radius: 1.5rem;
border-bottom-right-radius: 1.5rem;
border-circle-leftborder-top-left-radius: 50%;
border-bottom-left-radius: 50%;
border-circle-topborder-top-left-radius: 50%;
border-top-right-radius: 50%;
border-circle-bottomborder-bottom-left-radius: 50%;
border-bottom-right-radius: 50%;
border-circle-rightborder-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-round
border-round-left
border-round-top
border-round-bottom
border-round-right
<div class="flex flex-wrap justify-content-center">
    <div class="border-round w-12rem h-6rem m-2 bg-primary font-bold flex align-items-center justify-content-center">border-round</div>
    <div class="border-round-left w-12rem h-6rem m-2 bg-primary font-bold flex align-items-center justify-content-center">border-round-left</div>
</div>
<div class="flex flex-wrap justify-content-center">
    <div class="border-round-top w-12rem h-6rem m-2 bg-primary font-bold flex align-items-center justify-content-center">border-round-top</div>
    <div class="border-round-bottom w-12rem h-6rem m-2 bg-primary font-bold flex align-items-center justify-content-center">border-round-bottom</div>
    <div class="border-round-right w-12rem h-6rem m-2 bg-primary font-bold flex align-items-center justify-content-center">border-round-right</div>
</div>
 
oval
circle
<div class="flex flex-wrap justify-content-center">
    <div class="border-circle w-12rem h-6rem m-2 bg-primary font-bold flex align-items-center justify-content-center">oval</div>
    <div class="border-circle w-6rem h-6rem m-2 bg-primary font-bold flex align-items-center justify-content-center">circle</div>
</div>
 
border-noround
<div class="flex flex-wrap md:justify-content-start justify-content-center">
    <div class="border-noround w-12rem h-6rem m-2 bg-primary font-bold flex align-items-center justify-content-center">border-noround</div>
</div>
 

Responsive alternatives are available for customizations based on screen size. Add the responsive breakpoint keyword followed by a semi-colon as a prefix such as md:border-circle to use a responsive class.

ClassDescription
sm:small screens e.g. phones
md:medium screens e.g. tablets
lg:large screens e.g. notebooks
xl:larger screens e.g monitors
Responsive Radius
<div class="flex flex-wrap justify-content-center">
    <div class="border-noround md:border-circle w-12rem h-6rem m-2 bg-primary font-bold flex align-items-center justify-content-center">Responsive Radius</div>
</div>