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

**Tell us what’s happening:**Your span[class~=“sr-only”] selector should have the -webkit-clip-path property set to inset(50%) !important.
Please help I know I have it typed correctly and is failing me.

Your code so farspan[class~=“sr-only”] {
border: 0!important;
clip: rect(1px, 1px, 1px, 1px)!important;
clip-path: inset(50%)!important;
-webkit-clip-path:inset(50%) !important;
height: 1px!important;
width: 1px!important;
position: absolute!important;
overflow: hidden!important;
white-space: nowrap!important;
padding: 0!important;
margin: -1px!important;
}

WARNING

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.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

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

Link to the challenge:

Put a space between the colon and inset.

Also, even though you will pass as it is, you should have a space before each !important. Makes it much easier to read.

Didn’t pass I tried it again, I got it with spaces on colon and before !important thank you

Well, you’ll need to show us what you just tried. To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

Update: Sounds like you got it now!

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