Skip to content

Instantly share code, notes, and snippets.

@nickautomatic
Last active February 28, 2018 06:21
Show Gist options
  • Save nickautomatic/b33712443b93de28d18d to your computer and use it in GitHub Desktop.
Save nickautomatic/b33712443b93de28d18d to your computer and use it in GitHub Desktop.
Visually hidden / screen-reader only class
/* From Bootstrap 3 (I think...) */
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment