I can’t get past this step, here’s the error it throws me:
Test:
Sorry, your code does not pass. Keep trying.
Hint:
Your span[class~="sr-only"]
selector should have the -webkit-clip-path
property set to inset(50%) !important
.
span[class~=“sr-only”] {
border: 0!important;
clip: rect(1px, 1px, 1px, 1px)!important;
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;
-webkit-clip-path:inset(50%)!important;
}
WARNING
span[class~="sr-only"] {
border: 0!important;
clip: rect(1px, 1px, 1px, 1px)!important;
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;
-webkit-clip-path:inset(50%)!important;
}
Chrome
Challenge: Step 46
Link to the challenge: