23 lines
349 B
SCSS
23 lines
349 B
SCSS
.sr-only {
|
|
position: absolute;
|
|
border: 0;
|
|
padding: 0;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
&.with-focus {
|
|
&:active,
|
|
&:focus {
|
|
position: static;
|
|
width: auto;
|
|
height: auto;
|
|
overflow: visible;
|
|
white-space: normal;
|
|
clip: auto;
|
|
}
|
|
}
|
|
}
|