From 818734e12121b83fad661d683714cc1a185de3ea Mon Sep 17 00:00:00 2001 From: Rob Larsen Date: Mon, 11 Sep 2017 09:48:56 -0400 Subject: [PATCH] Restores stable visuallyhidden (#1991) see the saga unfold #1985 --- css/main.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/css/main.css b/css/main.css index 20626e7b85..46098cfea3 100644 --- a/css/main.css +++ b/css/main.css @@ -1,4 +1,4 @@ -/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */ +/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */ /* * What follows is the result of much research on cross-browser styling. @@ -136,13 +136,14 @@ textarea { .visuallyhidden { border: 0; + clip: rect(0 0 0 0); -webkit-clip-path: inset(50%); clip-path: inset(50%); - display: inline-block; height: 1px; margin: -1px; overflow: hidden; padding: 0; + position: absolute; width: 1px; white-space: nowrap; /* 1 */ }