Skip to content

Instantly share code, notes, and snippets.

@zwinnie
Created January 15, 2018 14:48
Show Gist options
  • Save zwinnie/c06116360740b90a8ed668e26d4efec6 to your computer and use it in GitHub Desktop.
Save zwinnie/c06116360740b90a8ed668e26d4efec6 to your computer and use it in GitHub Desktop.
Screen Reader Only CSS
.sr-only {
border: 0;
clip: rect(0,0,0,0);
clip-path: inset(1px);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
visibility: hidden;
white-space: nowrap;
width: 1px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment