Skip to content

Instantly share code, notes, and snippets.

@Ricardo-Diaz
Created October 25, 2012 23:43
Show Gist options
  • Save Ricardo-Diaz/3956182 to your computer and use it in GitHub Desktop.
Save Ricardo-Diaz/3956182 to your computer and use it in GitHub Desktop.
CSS: Visualy hide not display none
.visuallyhidden {
position: absolute;
width: 1px; /* Setting this to 0 make it invisible for VoiceOver */
height: 1px; /* Setting this to 0 make it invisible for VoiceOver */
padding: 0;
margin: -1px;
border: 0;
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