1.0.9 • Published 7 years ago
sass-helper v1.0.9
SASS Helper
Getting started
- Install with Bower:
bower install sass-helper
. - Add code to the beginning of Your sass file
@import "../bower/sass-helper/dist/sass-helper";
Use
SASS Helper focuses on the use of @extend in sass, to create a more compact and less repetitive code.
Example
#example {
@extend %indent-0-1, %position-relative, %clearfix, %vertical-align-top;
}
#example {
position: relative;
vertical-align: top;
padding: 0 1.5rem;
zoom: 1
}
#example, #example:after, #example:before {
display: block
}
#example:after {
clear: both
}
#example:after, #example:before {
content: '';
font-size: 0;
height: 0;
visibility: hidden
}