Skip to content

A PostCSS plugin which lets you create borders which do not affect the layout of the document

License

Notifications You must be signed in to change notification settings

gavinmcfarland/postcss-border-align

Repository files navigation

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

About

A PostCSS plugin which lets you create borders which do not affect the layout of the document

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published