From df42f092ba352edf0743f26e6bf7bb009abd6ceb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 21 Nov 2024 21:39:34 +0100 Subject: Add u-sr-only --- src/_utils.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src') diff --git a/src/_utils.scss b/src/_utils.scss index 4fb122a..bd92454 100644 --- a/src/_utils.scss +++ b/src/_utils.scss @@ -305,4 +305,16 @@ $-sizes: ( content: ''; } } + + @include bem.utility('sr-only') { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip-path: inset(50%); + white-space: nowrap; + border: 0; + } } -- cgit v1.2.3-70-g09d2