Skip to main content

Borders

Use border utilities to quickly style the border and border-radius of an element. Great for images, buttons, or any other element.

Border-radius

Add classes to an element to easily round its corners.

Example rounded image Example top rounded image Example right rounded image Example bottom rounded image Example left rounded image Completely round image Example non-rounded image (overrides rounding applied elsewhere) Example non-rounded image (overrides rounding applied elsewhere)
            
              <img class="rounded" src="..." alt="...">
              <img class="rounded-top" src="..." alt="...">
              <img class="rounded-right" src="..." alt="...">
              <img class="rounded-bottom" src="..." alt="...">
              <img class="rounded-left" src="..." alt="...">
              <img class="rounded-circle" src="..." alt="...">
              <img class="rounded-0" src="..." alt="...">
              <img class="rounded-pill" src="..." alt="...">
            
          

Note

.rounded-pseudo border radius class used on images that are overlayed with background gradients.