Created
June 26, 2014 00:05
-
-
Save startinggravity/206e06544a9a9e02521b to your computer and use it in GitHub Desktop.
Hide Text
This file contains 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
%hideText { | |
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; | |
} | |
.hidetext, | |
.element-invisible { | |
@extend %hideText; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment