julienmonnerie/assets/css/abstracts/_a11y.scss
2025-06-03 20:04:04 +02:00

13 lines
344 B
SCSS

// --------------------------------------------------
// A11Y
// --------------------------------------------------
@mixin visually-hidden {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0); // Legacy declaration for Internet Explorer
clip-path: inset(50%);
white-space: nowrap;
}