aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/docs/src/css/sr-only.css
blob: dbd65fd3d7a7d9b9876c00f2f0aade65ae21f8e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2010–2021 Kitty Giraudel
 *
 * SPDX-License-Identifier: MIT
 *
 * This snippet was copied from
 * https://kittygiraudel.com/snippets/sr-only-class/
 */

.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}