1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-12-21 17:01:57 +00:00
now-playing/assets/scss/1-core/_03-helpers.scss
2019-11-27 18:06:26 +01:00

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;
}