Skip to content

Instantly share code, notes, and snippets.

@SteAllan
Last active December 17, 2015 14:39
Show Gist options
  • Select an option

  • Save SteAllan/5625786 to your computer and use it in GitHub Desktop.

Select an option

Save SteAllan/5625786 to your computer and use it in GitHub Desktop.
Replace text with a background image
// Replace text with a background image.
.replace-text,
%replace-text {
text-indent: 110%;
white-space: nowrap;
overflow: hidden;
@if $ltie9 == true {
border: 0;
font: 0/0 a;
color: transparent;
text-indent: 0;
white-space: normal;
overflow: auto;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment