Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 812 Bytes

position.md

File metadata and controls

30 lines (24 loc) · 812 Bytes

Position Shorthand

Use position relative, absolute or fixed in shorthand.



###Usage

// shorthand
@include position(relative, 10px, 0, 0, 0);

// returns
position: relative;
top: 10px;
right: 0;
bottom: 0;
left: 0;



###Snippets The Snippets for Sublime Text are optional but make the workflow much faster.
Install: Download the Snippets and place them in your (path_to_sublime)/Packages/User folder.
Usage: Just type position and hit TAB to place your include.



###Playground You can test the mixin over here:

alt tag

Open Playground