Sha256: 2459899efd685ff88a951f02dfc29c7c3ff6add104a7ac9a96d44e4ef9a887c2

Contents?: true

Size: 322 Bytes

Versions: 32

Compression:

Stored size: 322 Bytes

Contents

// Hides html text and replaces it with an image.
// If you use this on an inline element, you will
// need to change the display to block or inline-block.
=replace-text( !img, !x = 50%, !y = 50% )
  :text-indent -9999em
  :overflow    hidden
  :background
    :image= url(!img)
    :repeat no-repeat
    :position= !x !y

Version data entries

32 entries across 32 versions & 6 rubygems

Version Path
arnebrasseur-compass-0.3.5.1 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
arnebrasseur-compass-0.3.5 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
bsherman-compass-0.5.2 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.1.1 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.3.0 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.3.1 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.3.2 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.3.3 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.3.4 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.3.6 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.3.7 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.3.8 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.3.9 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.4.0 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.4.1 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.4.2 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.5.0 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.5.1 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.5.2 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
chriseppstein-compass-0.5.3 frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass