added .sr-only in css

This commit is contained in:
westtle 2024-02-05 14:31:28 +07:00
parent e5ca35d04f
commit c04d39d74c

View file

@ -20,4 +20,20 @@ textarea {
background-color: transparent;
border: none;
font: inherit;
}
.sr-only {
border: none;
width: 0.0625rem;
height: 0.0625rem;
padding: 0;
margin: -0.0625rem;
overflow: hidden;
white-space: nowrap;
position: absolute;
top: auto;
left: -99rem;
clip: rect(0 0 0 0);
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
}