@citizensadvice/border-style

Defines the style of the element's borders.

Usage no npm install needed!

<script type="module">
  import citizensadviceBorderStyle from 'https://cdn.skypack.dev/@citizensadvice/border-style';
</script>

README

Border-style npm (scoped)

Defines the style of the element's borders.

Classes

.b-dotted {
  border-style: dotted;
}
.b-dashed {
  border-style: dashed;
}
.b-solid {
  border-style: solid;
}
.b-none {
  border-style: none;
}

Examples

<div class="b-width-1 b-solid b-heritage-yellow">...</div>
<div class="b-dotted">...</div>

Installation

$ npm install @citizensadvice/border-style

now import into your stylesheet...

@import '@citizensadvice/border-style/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/border-style@latest/build/border-style.css" />