Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
marcol
/
css-visually-hidden.css
Last active
Jan 25, 2021
Star
52
Fork
31
Star
Code
Revisions
2
Stars
52
Forks
31
Embed
What would you like to do?
Embed
Embed this gist in your website.
Share
Copy sharable link for this gist.
Clone via HTTPS
Clone with Git or checkout with SVN using the repository’s web address.
Learn more about clone URLs
Download ZIP
CSS: Visually hidden
Raw
css-visually-hidden.css
.
visually-hidden
{
position
: absolute
!important
;
clip
:
rect
(
1
px
1
px
1
px
1
px
);
/* IE6, IE7 */
clip
:
rect
(
1
px
,
1
px
,
1
px
,
1
px
);
padding
:
0
!important
;
border
:
0
!important
;
height
:
1
px
!important
;
width
:
1
px
!important
;
overflow
: hidden;
}
This comment has been minimized.
Sign in to view
Copy link
Quote reply
westerovs
commented
Jan 25, 2021
почему для overflow и clip, не стоит important ?
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
This comment has been minimized.
почему для overflow и clip, не стоит important ?