Skip to content

Instantly share code, notes, and snippets.

@denvers
Created May 25, 2012 09:14
Show Gist options
  • Save denvers/2786880 to your computer and use it in GitHub Desktop.
Save denvers/2786880 to your computer and use it in GitHub Desktop.
CSS text-indent the right way
.hide-text {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
@spaceemotion
Copy link

What's the problem with just using "-99999px"? I never read about any issues with this ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment