website/assets/sass/bourbon/addons/_hide-text.scss
2015-08-30 12:34:43 -04:00

13 lines
182 B
SCSS
Executable File

@mixin hide-text($height: 1em) {
height: $height;
line-height: 1.5;
overflow: hidden;
&::before {
content: "";
display: block;
width: 0;
height: 100%;
}
}