Skip to content

Instantly share code, notes, and snippets.

@johnw86
Created May 30, 2024 10:13
Show Gist options
  • Save johnw86/d0e55b7ec04136b339e465b162ca8d54 to your computer and use it in GitHub Desktop.
Save johnw86/d0e55b7ec04136b339e465b162ca8d54 to your computer and use it in GitHub Desktop.
CSS utils
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment