aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/sass/utilities/hidden.scss
blob: 97267f4d24e379b51521e0907187be122e3e4887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// ==========================================================================
// Hidden
// ==========================================================================

[hidden] {
  display: none;
}

// Hide only visually, but have it available for screen readers: h5bp.com/v
.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  opacity: 0.001;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}