Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A utility class to hide content visually, but leave it available to assistive technologies
.u-visually-hidden {
border: none !important;
clip: rect(0 0 0 0) !important;
height: 1px !important;
margin: -1px !important;
overflow: hidden !important;
padding: 0 !important;
position: absolute !important;
white-space: nowrap !important;
width: 1px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.