Add the squish text mixin for hiding text in inline elements.

This commit is contained in:
Chris Eppstein 2012-03-11 17:48:00 -07:00
parent d38fee361f
commit 32d8517f32

View File

@ -31,3 +31,12 @@
white-space: nowrap;
overflow: hidden;
}
// Hides text in an element by squishing the text into oblivion.
// Use this if you need to hide text contained in an inline element
// but still have it read by a screen reader.
@mixin squish-text {
font: 0/0 serif;
text-shadow: none;
color: transparent;
}