mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Add visually-hidden mixing
This commit is contained in:
9
src/styles/mixins/visually-hidden.scss
Normal file
9
src/styles/mixins/visually-hidden.scss
Normal file
@@ -0,0 +1,9 @@
|
||||
@mixin visually-hidden {
|
||||
clip: rect(0 0 0 0);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
width: 1px;
|
||||
}
|
||||
Reference in New Issue
Block a user