Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I can't find it on GitHub. Where does the pattern live and grow? I found at least 10+ it's versions, Including: Click to see an Image

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
199 views
Welcome To Ask or Share your Answers For Others

1 Answer

The .visually-hidden and its properties are a documented CSS pattern versus a maintained project by any single source. You can find references to it in this 2011 snook.ca article as .element-invisible, this 2015 The A11Y Project article as .visually-hidden, and HTML5 Boilderplate project here as .visuallyhidden.

I believe the Snook.ca article is the first source of this variation of the pattern.

The exact syntax and formatting are a bit different between each reference, but the properties are mostly the same with the exception of some minor differences such as the H5BP project removing legacy Internet Explorer support.

I don't have an exact number, but I am sure this code or variations of it show up in dozens, if not hundreds, of projects.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...