aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/abstracts/mixins/_helpers.scss
blob: 427ea4b994a438ddeb40484b9ac3b5962c685879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@use "../functions" as fun;

@mixin visually-hidden {
  width: fun.convert-px(1);
  height: fun.convert-px(1);
  padding: 0;
  position: absolute !important;
  overflow: hidden;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  word-break: normal;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}