Skip to content

Instantly share code, notes, and snippets.

@thierrypigot
Created January 11, 2019 10:55
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 thierrypigot/d19b2198b4f42160f202a9f7cd80d242 to your computer and use it in GitHub Desktop.
Save thierrypigot/d19b2198b4f42160f202a9f7cd80d242 to your computer and use it in GitHub Desktop.
Hide text with CSS
.screen-reader-text {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
overflow: hidden;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment