[Compass Core] Split out hide-text as its own mixin.
This commit is contained in:
parent
8006c7854c
commit
f6b319268e
lib/compass/frameworks/compass/stylesheets/compass/utilities
@ -1,3 +1,2 @@
|
||||
@import text/nowrap.sass
|
||||
@import text/replacement.sass
|
||||
@import text/fonts.sass
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user