hackertours-theme/assets/css/components/_visually-hidden.css
2026-04-08 11:29:43 +02:00

15 lines
294 B
CSS

/* Visually hidden
Make an element visually hidden, but accessible to screen readers, etc. */
.visually-hidden {
&:not(:focus, :active) {
position: absolute;
clip-path: inset(50%);
height: 1px;
width: 1px;
margin: 0;
overflow: hidden;
white-space: nowrap;
}
}