aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/sass/utilities/hidden.scss
blob: 665bfd76a696bb231f6fb470b6e468a0e51b18ee (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;
}