website/assets/sass/bourbon/addons/_hide-text.scss

13 lines
182 B
SCSS
Raw Normal View History

2015-08-30 12:34:43 -04:00
@mixin hide-text($height: 1em) {
height: $height;
line-height: 1.5;
overflow: hidden;
&::before {
content: "";
display: block;
width: 0;
height: 100%;
}
}