UNPKG

353 BSCSSView Raw
1// See https://github.com/twbs/bootstrap/blob/v4-dev/scss/mixins/_screen-reader.scss
2
3@mixin gl-sr-only {
4 border: 0;
5 clip: rect(0, 0, 0, 0);
6 height: 1px;
7 margin: -1px;
8 overflow: hidden;
9 padding: 0;
10 position: absolute;
11 white-space: nowrap;
12 width: 1px;
13}
14
15@mixin gl-sr-only-focusable {
16 &:not(:focus) {
17 @include gl-sr-only();
18 }
19}