[css] remove incorrect "visibility: hidden" answer from visually hide content question (#242)

Co-authored-by: Martin Duran <mduran@nerdery.com>
This commit is contained in:
Martin Duran 2020-03-07 01:47:04 -06:00 committed by GitHub
parent e96fc61287
commit 0ae1962770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -195,7 +195,6 @@ CSS sprites combine multiple images into one single larger image. It is a common
These techniques are related to accessibility (a11y).
- `visibility: hidden`. However, the element is still in the flow of the page, and still takes up space.
- `width: 0; height: 0`. Make the element not take up any space on the screen at all, resulting in not showing it.
- `position: absolute; left: -99999px`. Position it outside of the screen.
- `text-indent: -9999px`. This only works on text within the `block` elements.