Skip to content

Instantly share code, notes, and snippets.

@travismillerweb
Created September 11, 2014 18:56
Show Gist options
  • Save travismillerweb/42979b34dd14ba63ac5a to your computer and use it in GitHub Desktop.
Save travismillerweb/42979b34dd14ba63ac5a to your computer and use it in GitHub Desktop.
CSS - Replace Text via CSS (Hack)
.class {
visibility:hidden;
color:white;
}
.class:before {
content: "[Replaced Content]";
color:black;
visibility:visible;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment