From a119a40471017f6467b3dde0a7d910a3cdc115f6 Mon Sep 17 00:00:00 2001 From: MaksimDoronin Date: Thu, 12 Dec 2024 21:56:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B4=D0=B0=D1=8E=20=D0=BF=D0=B0?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=D1=8B=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B0=20visually-hidden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/styles/blocks/visually-hidden.scss | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/styles/blocks/visually-hidden.scss b/source/styles/blocks/visually-hidden.scss index 79a2710..107043b 100644 --- a/source/styles/blocks/visually-hidden.scss +++ b/source/styles/blocks/visually-hidden.scss @@ -1,3 +1,8 @@ -// .visually-hidden { - -// } +.visually-hidden { + position: absolute; + width: 1px; + height: 1px; + clip-path: inset(50%); + overflow: hidden; + white-space: nowrap; +}