Rate this docs

Angular Bootstrap Borders

Angular borders - Bootstrap 4 & Material Design

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


Border

Use border utilities to add or remove an element’s borders. Choose from all borders or one at a time.


Additive



              <span class="block-example border border-dark"></span>

              <span class="block-example border-top border-dark"></span>

              <span class="block-example border-right border-dark"></span>

              <span class="block-example border-bottom border-dark"></span>

              <span class="block-example border-left border-dark"></span>

          

Subtractive

Use border utilities to add or remove an element’s borders. Choose from all borders or one at a time.



              <span class="block-example border border-0 border-dark"></span>

              <span class="block-example border border-top-0 border-dark"></span>

              <span class="block-example border border-right-0 border-dark"></span>

              <span class="block-example border border-bottom-0 border-dark"></span>

              <span class="block-example border border-left-0 border-dark"></span>

          

Border color

Change the border color using utilities built on our theme colors.



    <span class="block-example border border-primary"></span>

    <span class="block-example border border-secondary"></span>

    <span class="block-example border border-success"></span>

    <span class="block-example border border-danger"></span>

    <span class="block-example border border-warning"></span>

    <span class="block-example border border-info"></span>

    <span class="block-example border border-light"></span>

    <span class="block-example border border-dark"></span>

Border-radius

Add classes to an element to easily round its corners.

100x100 100x100 100x100 100x100 100x100 100x100 100x100


    <img class="rounded mb-0" alt="100x100" src="https://placehold.it/100x100" data-holder-rendered="true">
    <img class="rounded-top" alt="100x100" src="https://placehold.it/100x100" data-holder-rendered="true">
    <img class="rounded-right" alt="100x100" src="https://placehold.it/100x100" data-holder-rendered="true">
    <img class="rounded-bottom" alt="100x100" src="https://placehold.it/100x100" data-holder-rendered="true">
    <img class="rounded-left" alt="100x100" src="https://placehold.it/100x100" data-holder-rendered="true">
    <img class="rounded-circle" alt="100x100" src="https://placehold.it/100x100" data-holder-rendered="true">
    <img class="rounded-0" alt="100x100" src="https://placehold.it/100x100" data-holder-rendered="true">