Files
cunningham/packages/react/src/utils/_accessibility.scss
Lebaud Antoine d5fcf500b7 ♻️(react) merge duplicated scss classes related to accessibility
'offscreen' and 'c__offscreen' were duplicated, merge these two classes
in a dedicated utils file.
2023-10-24 20:32:42 +02:00

13 lines
239 B
SCSS

.c__offscreen {
position: absolute;
width: 1px;
height: 1px !important;
padding: 0 !important;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0 !important;
}