Skip to main content

Border Radius

Overview

These classes can be used to set the border radius of an element. By using these classes, you can create elements with rounded corners, such as buttons, cards, and input fields.

Classes

ClassDescription
roundedAdds the project standard border radius to the element. By default this is 0.75rem, equivalent to rounded-xl.
rounded-noneRemoves all border radius from the element.
rounded-xsAdds an extra small border radius to the element.
rounded-smAdds a small border radius to the element.
roundedAdds a medium border radius to the element.
rounded-mdAdds a medium border radius to the element.
rounded-lgAdds a large border radius to the element.
rounded-xlAdds an extra large border radius to the element. (Default project standard)
rounded-2xlAdds a 2x large border radius to the element.
rounded-3xlAdds a 3x large border radius to the element.
rounded-fullAdds a full border radius to the element.
ClassDescription
tl- roundedAdds the project standard border radius to the top left corner of the element.
tr-roundedAdds the project standard border radius to the top right corner of the element.
br-roundedAdds the project standard border radius to the bottom right corner of the element.
bl-roundedAdds the project standard border radius to the bottom left corner of the element.