Skip to content

Commit

Permalink
Restores stable visuallyhidden (h5bp#1991)
Browse files Browse the repository at this point in the history
see the saga unfold #1985
  • Loading branch information
roblarsen authored Sep 11, 2017
1 parent 062570b commit 818734e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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 */
}
Expand Down

0 comments on commit 818734e

Please sign in to comment.