Skip to content

Commit

Permalink
[Compass Core] Make the logic behind the hide-text measurement more c…
Browse files Browse the repository at this point in the history
…lear. no functional change.
  • Loading branch information
chriseppstein committed Aug 6, 2010
1 parent c9a2eb2 commit d99698f
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -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;
}

0 comments on commit d99698f

Please sign in to comment.