1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-26 17:21:42 +00:00
now-playing/assets/scss/1-core/_03-helpers.scss

30 lines
658 B
SCSS
Raw Normal View History

2019-11-27 17:06:26 +00:00
/* ----------------------------------------------------------- */
/* == 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;
}