The u-border* utilities set one or more border edges to a standard width for
the project. They combine well with border color utilities.
u-border - Adds border to all sides.u-borderEnds - Adds border to top and bottom.u-borderSides - Adds border to left and right.u-borderTopu-borderBottomu-borderLeftu-borderRightThis utility also supports responsive variations, for example
u-md-borderLeft to apply a left border at the medium breakpoint.
<div class="u-border u-bgWhite u-pad1 u-textCenter">
u-border
</div>
<div class="u-borderEnds u-bgWhite u-pad1 u-textCenter">
u-borderEnds
</div>
<div class="u-borderSides u-bgWhite u-pad1 u-textCenter">
u-borderSides
</div>
<div class="u-borderTop u-bgWhite u-pad1 u-textCenter">
u-borderTop
</div>
<div class="u-borderBottom u-bgWhite u-pad1 u-textCenter">
u-borderBottom
</div>
<div class="u-borderLeft u-bgWhite u-pad1 u-textCenter">
u-borderLeft
</div>
<div class="u-borderRight u-bgWhite u-pad1 u-textCenter">
u-borderRight
</div>
There are four border reset utility classes for resetting the border-width to 0.
u-deborder: Affects all viewport widthsu-sm-deborder: Affects viewports starting at small viewport widthsu-md-deborder: Affects viewports starting at medium viewport widthsu-lg-deborder: Affects viewports starting at large viewport widthsSets border-color to a color from our palette,
though currently only the following:
u-borderGrayu-borderSilverColor won't be visible until the border has a width and/or style.
<div class="u-borderGray u-border u-pad1 u-textCenter">
u-borderGray
</div>
<div class="u-borderSilver u-border u-pad1 u-textCenter">
u-borderSilver
</div>
u-borderRadius sets the project's standard border-radius value.
There is also a u-lg-borderRadius utility for only applying those corners
for larger viewport sizes. More responsive variations may be added at a later
date.
<div class="u-borderRadius u-bgWhite u-pad1 u-textCenter">
u-borderRadius
</div>