Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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