Skip to content

Commit

Permalink
docs: visually hidden class (#1803)
Browse files Browse the repository at this point in the history
docs: visually hidden classs

Co-authored-by: Steven Spriggs <[email protected]>
  • Loading branch information
bennypowers and zeroedin authored Sep 7, 2024
1 parent b558e00 commit 18bc59f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@
figcaption {
color: var(--rh-color-text-secondary-on-light);
}

.visually-hidden {
position: fixed;
top: 0;
left: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
}

@layer layout {
Expand Down

0 comments on commit 18bc59f

Please sign in to comment.