Skip to content

iamskok/sassy-borders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sassy-border

Sassy-border is Sass shorthand for border properties.

Usage

@include border(1px, solid, red); // Apply to all four borders
@include border(5px 0, solid, green); // vertical | horizontal
@include border(2px 3px 5px, solid, blue);  // border-top | horizontal | border-bottom
@include border(2px 1em 0 25px, dotted, pink); // border-top | border-right | border-bottom | border-left

Installation

Git:

git clone git@github.com:skoks/sassy-border.git ./

Bower:

bower install sassy-border --save-dev