Skip to content

Instantly share code, notes, and snippets.

@jeremypage
Created July 21, 2020 08:03
Show Gist options
  • Save jeremypage/7f3cfe5146e6aebf1fddcfe9566315b5 to your computer and use it in GitHub Desktop.
Save jeremypage/7f3cfe5146e6aebf1fddcfe9566315b5 to your computer and use it in GitHub Desktop.
CSS: Hidden text (when content is hidden, but still present for screen readers)
.hidden-text {
position: absolute;
left: -10000px;
height: 1px;
width: 1px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment