Skip to content

Instantly share code, notes, and snippets.

@thamas
Last active December 19, 2015 03:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thamas/5890941 to your computer and use it in GitHub Desktop.
Save thamas/5890941 to your computer and use it in GitHub Desktop.
compass scss text-replacement span
//see http://compass-style.org/reference/compass/typography/text/replacement
//compass 0.12.2
@import "compass/typography/text/replacement"
span.logo {
@include replace-text-with-dimensions("logo.png");
display: inline-block;
position: relative;
top: 4px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment