Skip to content

Instantly share code, notes, and snippets.

@Alecto
Last active October 10, 2022 06:46
Show Gist options
  • Save Alecto/ab00a514c9d98132de063990ed3a3eb8 to your computer and use it in GitHub Desktop.
Save Alecto/ab00a514c9d98132de063990ed3a3eb8 to your computer and use it in GitHub Desktop.
Visually hidden block
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);
clip: rect(0 0 0 0);
overflow: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment