Borders, radius and dividers

Borders

Use border classes to add or remove borders on your element.

Here are all the supported classes:

  • .border
  • .border-top
  • .border-bottom
  • .border-left
  • .border-right
  • .border-0
  • .border-top-0
  • .border-bottom-0
  • .border-left-0
  • .border-right-0
.border .border-top .border-right .border-bottom .border-left
.border-0 .border-top-0 .border-right-0 .border-bottom-0 .border-left-0

Border radius

Use border radius classes to add border-radius or to remove it from on your element.

Here are all the supported classes:

  • .rounded
  • .rounded-0
  • .rounded-10
  • .rounded-20
  • .rounded-circle
  • .rounded-top, .rounded-right, .rounded-bottom, .rounded-left
.rounded-0 .rounded .rounded-10 .rounded-20 .rounded-circle
.rounded-top .rounded-right .rounded-bottom .rounded-left

Horizontal divider

hr tag element (default)



hr with .hr-disabled (disabled state)



hr with .hr-dotted class



hr with .hr-dotted and .hr-disabled (disabled state for dotted divider)



hr with .hr-nc-dotted class



hr with .hr-nc-dotted and .hr-disabled (disabled state for nc dotted divider)


				
<!-- Borders -->
<div class="border">Add border to this div</div>
<div class="border-top">Add top border on this div</div>
<div class="border-bottom-0">Remove the bottom border on this div</div>

<!-- Radius -->
<div class="rounded">Add the default rounded corners (5px) to this element (div/image/etc.)</div>
<div class="rounded-0">Remove the rounded corners of this element (div/image/etc.)</div>
<div class="rounded-10">Add the 10px rounded corners to this element (div/image/etc.)</div>
<div class="rounded-20">Add the 20px rounded corners to this element (div/image/etc.)</div>
<div class="rounded-circle">Make this element (div/image/etc.) a circle</div>

<div class="rounded-top">Add the default rounded corners (5px) to the top left and right corners of this element (div/image/etc.)</div>
<div class="rounded-right">Add the default rounded corners (5px) to the top right and bottom right corners of this element (div/image/etc.)</div>
<div class="rounded-bottom">Add the default rounded corners (5px) to the bottom left and right corners of this element (div/image/etc.)</div>
<div class="rounded-left">Add the default rounded corners (5px) to the bottom left and top left corners of this element (div/image/etc.)</div>

<!-- Horizontal divider -->
<hr class="">
<hr class="hr-disabled">
<!-- Dotted divider -->
<hr class="hr-dotted">
<hr class="hr-dotted hr-disabled">
<!-- NC dotted divider -->
<hr class="hr-nc-dotted">
<hr class="hr-nc-dotted hr-disabled">