From 43e20541209f8ea78d0d82bd202772cb76a4b1ca Mon Sep 17 00:00:00 2001 From: daudix Date: Wed, 9 Oct 2024 17:49:24 +0300 Subject: [PATCH] Improve (or not...) the .hidden class --- sass/_hidden.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sass/_hidden.scss b/sass/_hidden.scss index dd96e44..c6adc89 100644 --- a/sass/_hidden.scss +++ b/sass/_hidden.scss @@ -1,9 +1,9 @@ -.hidden:not(:focus):not(:active) { - clip: rect(0 0 0 0); - position: absolute; - clip-path: inset(100%); - width: 1px; - height: 1px; - overflow: hidden; - white-space: nowrap; +.hidden { + clip: rect(0 0 0 0) !important; + position: absolute !important; + clip-path: inset(100%) !important; + width: 1px !important; + height: 1px !important; + overflow: hidden !important; + white-space: nowrap !important; }