postcss-border-align

1.0.7 • Public • Published

PostCSS Border Align PostCSS

NPM Version Build Status Support Chat

Allows you to create borders which do not affect the layout of the document.

.example {
  border: inside 2px solid red;
}

Outputs:

.example {
  box-shadow: inset 0 0 0 2px red;
}

Currently the plugin only works with solid borders, and will accept inside or outside.

Setup

npm install postcss-border-align --save-dev

Package Sidebar

Install

npm i postcss-border-align

Weekly Downloads

13

Version

1.0.7

License

CC0-1.0

Unpacked Size

66.2 kB

Total Files

8

Last publish

Collaborators

  • limitlessloop