danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e9ee0f929b94771d9a8f1f940a725c955482b362
[theme-danix.xyz.git]
/
assets
/
sass
/
bourbon
/
bourbon
/
library
/
_hide-text.scss
1
@charset "UTF-8";
2
3
/// Hides the text in an element, commonly used to show an image instead. Some
4
/// elements will need block-level styles applied.
5
///
6
/// @link https://goo.gl/EvLRIu
7
///
8
/// @example scss
9
/// .element {
10
/// @include hide-text;
11
/// }
12
///
13
/// // CSS Output
14
/// .element {
15
/// overflow: hidden;
16
/// text-indent: 101%;
17
/// white-space: nowrap;
18
/// }
19
20
@mixin hide-text {
21
overflow: hidden;
22
text-indent: 101%;
23
white-space: nowrap;
24
}