Skip to content

Instantly share code, notes, and snippets.

@Asjas Asjas/style.css
Last active Apr 25, 2019

Embed
What would you like to do?
A CSS class for screen reader content. This will hide the HTML Element from the user but will still allow screen readers to see it.
.sr-only {
border: 0;
clip: rect(0 0 0 0);
height: auto;
margin: 0;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
white-space: nowrap;
}
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.