Tell us what’s happening:
I know sr-only is used for visually impaired people. I wanna know why those specific lines are doing, like- why we are using left: -10000px ? What does line do?
Your code so far
<head>
<style>
.sr-only {
position: absolute ;
left: -10000px;
width: 1px;
height: 1px;
top: auto;
overflow: hidden;
}
</style>
</head>
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-accessibility/make-elements-only-visible-to-a-screen-reader-by-using-custom-css