Hype-2/static/font-awesome/scss/_screen-reader.scss

15 lines
336 B
SCSS
Raw Permalink Normal View History

2023-10-17 08:03:51 +00:00
// screen-reader utilities
// -------------------------
// only display content to screen readers
.sr-only,
.#{$fa-css-prefix}-sr-only {
@include fa-sr-only;
}
// use in conjunction with .sr-only to only display content when it's focused
.sr-only-focusable,
.#{$fa-css-prefix}-sr-only-focusable {
@include fa-sr-only-focusable;
}