From df954d50fb3b028f7484bac67a4228aab41fdb95 Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Wed, 13 Dec 2023 18:16:42 +0600 Subject: [PATCH] :lipstick: Added visually-hidden class --- web/static/styles.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web/static/styles.css b/web/static/styles.css index 6d51961..efc24fd 100644 --- a/web/static/styles.css +++ b/web/static/styles.css @@ -151,6 +151,17 @@ button[disabled] svg { justify-content: var(--_justify); } +/* Blocks */ +.visually-hidden { + clip-path: inset(100%); + clip: rect(0 0 0 0); + height: 1px; + overflow: hidden; + position: absolute; + white-space: nowrap; + width: 1px; +} + /* Utilities */ .list-style-type\:none { list-style-type: none;