Files
dg-js-workspace/packages/ui-react/src/styles/css/screen-reader.css
T
2026-11-21 22:57:24 +08:00

24 lines
404 B
CSS

@layer utility {
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border-width: 0;
}
.sr-only--cancel {
position: static;
width: auto;
height: auto;
padding: 0;
margin: 0;
overflow: visible;
clip-path: none;
white-space: normal;
}
}