Skip to content

Commit 15aeff0

Browse files
committed
added no-selection to hide highlight bg
1 parent 61cf1d4 commit 15aeff0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/css/utils/display.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,20 @@
22
.block { display: block; }
33
.inline-block { display: inline-block; }
44
.inline { display: inline; }
5+
6+
7+
/*REMOVE HIGHLIGHT BACKGROUND*/
8+
.no-selection::selection {
9+
background: transparent;
10+
color: inherit;
11+
}
12+
13+
.no-selection::-moz-selection {
14+
background: transparent;
15+
color: inherit;
16+
}
17+
18+
.no-selection {
19+
user-select: none;
20+
}
21+

0 commit comments

Comments
 (0)