@citizensadvice/cads-box-model

0.0.5 • Public • Published

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.

/@citizensadvice/cads-box-model/

    Package Sidebar

    Install

    npm i @citizensadvice/cads-box-model

    Weekly Downloads

    5

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    1.83 kB

    Total Files

    6

    Last publish

    Collaborators

    • cnorthwoodcita
    • seymourski
    • marianayovcheva
    • mrdaniellewis
    • davidsauntson
    • davidrapson