Borders

Breakpoints

You can use breakpoint infixes to set borders only from a certain breakpoint. For example border-lg will add a border to an element when the viewport is at least at the lg breakpoint.

Valid breakpoint infixes are:

sm
md
lg
xl

Valid border classes with lg infix as example, but all infixes are valid:

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

Border colors are also valid to set at breakpoints, again with lg infix as example but all are valid:

.border-lg-success 
.border-lg-info 
.border-lg-warning 
.border-lg-danger 
.border-lg-light 
.border-lg-primary 
.border-lg-secondary 
.border-lg-dark 
.border-lg-white 
.border-lg-black 
.border-lg-blue 
.border-lg-bronze 
.border-lg-flower 
.border-lg-sky 
.border-lg-copper 
.border-lg-plaster 
.border-lg-stone 
.border-lg-flower-50 
.border-lg-sky-50 
.border-lg-copper-50 
.border-lg-plaster-50 
.border-lg-stone-50 
.border-lg-dark-50 
.border-lg-flower-25 
.border-lg-sky-25 
.border-lg-copper-25 
.border-lg-plaster-25 
.border-lg-stone-25 
.border-lg-dark-25
.border-lg-dark-grey 
.border-lg-bronze-medium

Children and Grandchildren

You can use the c prefix to have the child of a given element have a border. Likewise you can use the gc prefix to affect an elements grandchildren.

Available classes are:

.cborder
.cborder-top 
.cborder-right 
.cborder-bottom 
.cborder-left 
.cborder-0 
.cborder-top-0 
.cborder-right-0 
.cborder-bottom-0 
.cborder-left-0 

.gcborder
.gcborder-top 
.gcborder-right 
.gcborder-bottom 
.gcborder-left 
.gcborder-0 
.gcborder-top-0 
.gcborder-right-0 
.gcborder-bottom-0 
.gcborder-left-0 

This can also be used for breakpoints as stated above, here using the lg infix as an example, but any valid infix will work:

.cborder-lg 
.cborder-lg-top 
.cborder-lg-right 
.cborder-lg-bottom 
.cborder-lg-left 
.cborder-lg-0 
.cborder-lg-top-0 
.cborder-lg-right-0 
.cborder-lg-bottom-0 
.cborder-lg-left-0 

.gcborder-lg 
.gcborder-lg-top 
.gcborder-lg-right 
.gcborder-lg-bottom 
.gcborder-lg-left 
.gcborder-lg-0 
.gcborder-lg-top-0 
.gcborder-lg-right-0 
.gcborder-lg-bottom-0 
.gcborder-lg-left-0