Anyone to help me.
The CSS clip
property is used to define the visible portions of an element. Set the span[class~="sr-only"]
selector to have a clip
property of rect(1px, 1px, 1px, 1px)
.
The clip-path
property determines the shape the clip
property should take. Set the clip-path
property to the value of inset(50%)
, forming the clip-path into a rectangle within the element.
span[class~="sr-only"] {
border: 0;
}
span[class~="sr-only"] {
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
}