[Compass Core] Split out hide-text as its own mixin.

This commit is contained in:
Andrew Vit 2009-12-18 09:28:16 -08:00 committed by Chris Eppstein
parent 8006c7854c
commit f6b319268e
2 changed files with 5 additions and 3 deletions
lib/compass/frameworks/compass/stylesheets/compass/utilities

View File

@ -1,3 +1,2 @@
@import text/nowrap.sass
@import text/replacement.sass
@import text/fonts.sass

View File

@ -9,9 +9,12 @@
@param y
the y position of the background image.
=replace-text( !img, !x = 50%, !y = 50% )
text-indent: -9999em
overflow: hidden
+hide-text
background:
image= image_url(!img)
repeat: no-repeat
position= !x !y
=hide-text
:text-indent -9999em
:overflow hidden