Skip to content

Commit 0ae1962

Browse files
[css] remove incorrect "visibility: hidden" answer from visually hide content question (#242)
Co-authored-by: Martin Duran <mduran@nerdery.com>
1 parent e96fc61 commit 0ae1962

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

questions/css-questions.md

-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ CSS sprites combine multiple images into one single larger image. It is a common
195195

196196
These techniques are related to accessibility (a11y).
197197

198-
- `visibility: hidden`. However, the element is still in the flow of the page, and still takes up space.
199198
- `width: 0; height: 0`. Make the element not take up any space on the screen at all, resulting in not showing it.
200199
- `position: absolute; left: -99999px`. Position it outside of the screen.
201200
- `text-indent: -9999px`. This only works on text within the `block` elements.

0 commit comments

Comments
 (0)