Borders, radius, widths and heights and other classes

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

Width and height

Add 100% width/max-width or height/max-height to your div.

Here are all the supported classes:

  • .w-100 width: 100%;
  • .h-100 height: 100%;
  • .mw-100 max-width: 100%;
  • .mh-100 max-height: 100%;

Visibility

Use visibility classes to add display or to hide and element.

Here are all the supported classes:

  • .visibile
  • .invisible
				
<!-- 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>

<!-- Visibility -->
<div class="visible"> ... </div>
<div class="invisible"> ... </div>