Created
October 25, 2012 23:43
-
-
Save Ricardo-Diaz/3956182 to your computer and use it in GitHub Desktop.
CSS: Visualy hide not display none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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