[Compass Core] Make the logic behind the hide-text measurement more clear. no functional change.
This commit is contained in:
parent
c9a2eb2154
commit
d99698f67a
@ -26,7 +26,9 @@
|
||||
|
||||
// Hides text in an element so you can see the background.
|
||||
@mixin hide-text {
|
||||
text-indent: -119988px;
|
||||
$approximate_em_value: 12px / 1em;
|
||||
$wider_than_any_screen: -9999em;
|
||||
text-indent: $wider_than_any_screen * $approximate_em_value;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user