@citizensadvice/cads-box-model

v0.0.5
![npm (scoped)](https://img.shields.io/npm/v/@citizensadvice/cads-box-model.svg)

Box model

npm (scoped)

Component Type

  • Generic

Installation

$ npm install @citizensadvice/cads-box-model
@import "@citizensadvice/cads-box-model/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/cads-box-model@latest/build/cads.box-model.css" />

Implementation

When building new components, they will automatically take on the box model of border-box, but you can set this to whatever you'd like by changing the box-sizing property in your new component.

npm i @citizensadvice/cads-box-model

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 1/11/2019

Downloads