Skip to content

Commit

Permalink
feat: add screen reader only styles
Browse files Browse the repository at this point in the history
  • Loading branch information
0xabdulkhaliq committed Aug 3, 2023
1 parent 039fd4c commit 406825c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Homepage/Homepage/Homepage.css
Original file line number Diff line number Diff line change
Expand Up @@ -654,3 +654,15 @@ input.search-input:hover {
margin-top:10px;
margin-bottom:20px;
}

.sr-only {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border-width: 0 !important;
}

0 comments on commit 406825c

Please sign in to comment.