[Compass Core] Split out hide-text as its own mixin.
This commit is contained in:
parent
8006c7854c
commit
f6b319268e
@ -1,3 +1,2 @@
|
|||||||
@import text/nowrap.sass
|
@import text/nowrap.sass
|
||||||
@import text/replacement.sass
|
@import text/replacement.sass
|
||||||
@import text/fonts.sass
|
|
@ -9,9 +9,12 @@
|
|||||||
@param y
|
@param y
|
||||||
the y position of the background image.
|
the y position of the background image.
|
||||||
=replace-text( !img, !x = 50%, !y = 50% )
|
=replace-text( !img, !x = 50%, !y = 50% )
|
||||||
text-indent: -9999em
|
+hide-text
|
||||||
overflow: hidden
|
|
||||||
background:
|
background:
|
||||||
image= image_url(!img)
|
image= image_url(!img)
|
||||||
repeat: no-repeat
|
repeat: no-repeat
|
||||||
position= !x !y
|
position= !x !y
|
||||||
|
|
||||||
|
=hide-text
|
||||||
|
:text-indent -9999em
|
||||||
|
:overflow hidden
|
||||||
|
Loading…
Reference in New Issue
Block a user