From 7d19bf609264574e90a1bc153b044aa3a0f6488b Mon Sep 17 00:00:00 2001 From: Nathan Steel Date: Tue, 6 Dec 2022 05:10:54 -0500 Subject: [PATCH] Add .vh (visually hidden) CSS class styling --- main.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/main.css b/main.css index 37ac845..3b220e3 100644 --- a/main.css +++ b/main.css @@ -45,6 +45,16 @@ position:absolute;overflow:hidden; left:-9999px;top:auto; width:1px;height:1px; } +.vh{ +position:absolute; +clip:rect(1px,1px,1px,1px); +height:1px;width:1px; +padding:2px 8px;overflow:hidden; +white-space:nowrap; +background:#FFF} +.vh:focus{ +clip:auto;overflow:auto; +height:auto;width:auto} footer p{margin:0} table{text-align:left;width:100%;