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

I ain’t understanding what I’m doing wrong ?!
clip: rect(1p, 1px, 1px, 1px);

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

span[class~="sr-only"] {
  border: 0;
  clip: rect(1p, 1px, 1px, 1px);
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

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

Link to the challenge:

Follow carefully the instructions:

  • Set the span[class~="sr-only"] selector to have a clip property of rect(1px, 1px, 1px, 1px)

  • Set both the clip-path and -webkit-clip-path properties to the value of inset(50%)
    Where is the solution for the second task in the step?

clip-path: value;
-webkit-clip-path: value;
1 Like

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