Step 46
Rather than having to constantly double-check you are not overwriting your earlier properties, you can use the !important
keyword to ensure these properties are always applied, regardless of order or specificity.
Give each property in your span[class~="sr-only"]
selector an !important
keyword. Do not change any of the values.
span[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;
width: 1px;
position: absolute;
overflow: hidden;
white-space: nowrap;
padding: 0;
margin: -1px;
}
Test
Sorry, your code does not pass. Hang in there.
Hint
Your span[class~="sr-only"]
selector should have the -webkit-clip-path
property set to inset(50%) !important
.