new visually-hidden rules
This commit is contained in:
parent
6ee08ce823
commit
b1970263cc
2 changed files with 11 additions and 18 deletions
|
@ -187,18 +187,14 @@ sub {
|
|||
/* ----------------------------- */
|
||||
/* hiding content */
|
||||
.visually-hidden {
|
||||
position: absolute;
|
||||
left: -7000px;
|
||||
position: absolute !important;
|
||||
clip: rect(1px 1px 1px 1px);
|
||||
/* IE6, IE7 */
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
overflow: hidden;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
}
|
||||
[dir=rtl] .visually-hidden {
|
||||
left: auto;
|
||||
right: -7000px;
|
||||
}
|
||||
.desktop-hidden {
|
||||
display: none;
|
||||
}
|
||||
/* hidden on desktop */
|
||||
/* ----------------------------- */
|
||||
/* == skip links styling */
|
||||
/* ----------------------------- */
|
||||
|
|
|
@ -172,16 +172,13 @@ sub {
|
|||
/* ----------------------------- */
|
||||
|
||||
/* hiding content */
|
||||
.visually-hidden {
|
||||
position: absolute;
|
||||
left: -7000px;
|
||||
.visually-hidden {
|
||||
position: absolute !important;
|
||||
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
overflow: hidden;
|
||||
height: 1px; width: 1px;
|
||||
}
|
||||
[dir=rtl] .visually-hidden {
|
||||
left: auto;
|
||||
right: -7000px;
|
||||
}
|
||||
.desktop-hidden { display: none; } /* hidden on desktop */
|
||||
|
||||
|
||||
/* ----------------------------- */
|
||||
|
|
Loading…
Reference in a new issue