Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 31

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%);
}

Hello! your CSS code passes on my side. Can you describe your issue clearer?

@stephenmutheu
the checker is showing me

Your span[class~="sr-only"] selector should have a clip property set to rect(1px, 1px, 1px, 1px)

Delete the first span.

@stephenmutheu Thank you. Checked

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.