mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-12-30 16:41:57 +00:00
29 lines
658 B
SCSS
29 lines
658 B
SCSS
/* ----------------------------------------------------------- */
|
|
/* == helpers */
|
|
/* ----------------------------------------------------------- */
|
|
|
|
/* screen readers
|
|
-------------------------------------------------------------- */
|
|
|
|
/* Hide only visually, but have it available for screen readers (from HTML5 Boilerplate) */
|
|
|
|
.visually-hidden {
|
|
position: absolute;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
margin: -1px;
|
|
padding: 0;
|
|
width: 1px;
|
|
height: 1px;
|
|
border: 0;
|
|
}
|
|
|
|
.visually-hidden.focusable:active,
|
|
.visually-hidden.focusable:focus {
|
|
position: static;
|
|
overflow: visible;
|
|
clip: auto;
|
|
margin: 0;
|
|
width: auto;
|
|
height: auto;
|
|
}
|