Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.09 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.09 KB

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