@schukai/monster
Version:
Monster is a simple library for creating fast, robust and lightweight websites.
34 lines (33 loc) • 853 B
CSS
/** generated from accessibility.pcss **/
.visually-hidden {
height: 1px ;
margin: -1px ;
overflow: hidden ;
padding: 0 ;
width: 1px ;
clip: rect(0, 0, 0, 0) ;
border: 0 ;
white-space: nowrap ;
}
.visually-hidden:not(caption) {
position: absolute ;
}
.visually-hidden-focusable:not(:focus):not(:focus-within) {
height: 1px ;
margin: -1px ;
overflow: hidden ;
padding: 0 ;
width: 1px ;
clip: rect(0, 0, 0, 0) ;
border: 0 ;
white-space: nowrap ;
}
.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption) {
position: absolute ;
}
@media (prefers-reduced-motion: reduce) {
* {
animation: none ;
transition: none ;
}
}