Skip to content

Commit

Permalink
Задаю параметры для блока visually-hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimDoronin committed Dec 12, 2024
1 parent dca1abe commit a119a40
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions source/styles/blocks/visually-hidden.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// .visually-hidden {

// }
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
clip-path: inset(50%);
overflow: hidden;
white-space: nowrap;
}

0 comments on commit a119a40

Please sign in to comment.