Skip to content

Instantly share code, notes, and snippets.

@kelsS
Created July 26, 2022 16:07
Show Gist options
  • Select an option

  • Save kelsS/95e473f642fc698afdd22b17896623ba to your computer and use it in GitHub Desktop.

Select an option

Save kelsS/95e473f642fc698afdd22b17896623ba to your computer and use it in GitHub Desktop.

Revisions

  1. kelsS created this gist Jul 26, 2022.
    12 changes: 12 additions & 0 deletions visually-hidden-clip-method.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    ```css
    .visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    }
    ```