Last active
August 1, 2025 15:45
-
-
Save selfagency/d81b97ffbe7c4178183a79ca88b1bb6a to your computer and use it in GitHub Desktop.
hide content accessibly
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 { | |
border: 0; | |
clip: rect(0 0 0 0); | |
height: auto; /* new - was 1px */ | |
margin: 0; /* new - was -1px */ | |
overflow: hidden; | |
padding: 0; | |
position: absolute; | |
width: 1px; | |
white-space: nowrap; /* 1 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment