Skip to content

Instantly share code, notes, and snippets.

@hfknight
Last active March 14, 2018 15:12

Revisions

  1. hfknight revised this gist Mar 14, 2018. No changes.
  2. hfknight revised this gist Mar 14, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions visually-hidden.css
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    .element-invisible {
    position: absolute !important;
    height: 1px; width: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
  3. hfknight created this gist Mar 14, 2018.
    7 changes: 7 additions & 0 deletions visually-hidden.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    .element-invisible {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    }