Skip to content

Instantly share code, notes, and snippets.

@sebastiano-guerriero
Created October 28, 2019 09:01
Show Gist options
  • Save sebastiano-guerriero/58b8e9a08e72b5de31ae526ea5e0637e to your computer and use it in GitHub Desktop.
Save sebastiano-guerriero/58b8e9a08e72b5de31ae526ea5e0637e to your computer and use it in GitHub Desktop.
.sr-only { // content made available only to screen readers
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
width: 1px;
height: 1px;
overflow: hidden;
padding: 0;
border: 0;
white-space: nowrap;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment