1.0.3 • Published 5 years ago

@citizensadvice/borders v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Borders npm (scoped)

Defines the border of an element. These can be combined with other border properties such as color or widths to override default styling.

Classes

Class nameValue
.b-0none
.basolid .063rem (1px)
.b-topsolid .063rem (1px)
.b-top-0none
.b-rightsolid .063rem (1px)
.b-right-0none
.b-bottomsolid .063rem (1px)
.b-bottom-0none
.b-leftsolid .063rem (1px)
.b-left-0none

Examples

<div class="ba">...</div>
<div class="ba b-right-0">...</div>

Installation

$ npm install @citizensadvice/borders

now import into your stylesheet...

@import '@citizensadvice/borders/index.scss';

You can also make use of the unpkg service, try adding the link below to the head of your HTML file

<link src="https://unpkg.com/@citizensadvice/borders@latest/build/borders.css" />