Skip to content

Commit 6e1a8df

Browse files
authored
Removed inconsistent touch highlights on mobile (#6)
* feat(PWA): Configured PWA and added service workers * feat(PWA): Configured PWA and added service workers * fix: Removed test files * fix: removed inconsistent touch highlights on mobile
1 parent 8d8a157 commit 6e1a8df

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/index.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ body {
77
-moz-osx-font-smoothing: grayscale;
88
}
99

10+
button,
11+
textarea,
12+
input,
13+
select,
14+
a {
15+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
16+
-webkit-tap-highlight-color: transparent;
17+
-webkit-user-select: none;
18+
-khtml-user-select: none;
19+
-moz-user-select: none;
20+
-ms-user-select: none;
21+
user-select: none;
22+
23+
}
24+
1025
code {
1126
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
1227
monospace;

0 commit comments

Comments
 (0)