Skip to content

Commit 2beb20b

Browse files
author
davidwei
committed
Prevent text selection highlighting with caret-color
1 parent 1eba820 commit 2beb20b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
/* IE 10 and Edge */
4343
user-select: none;
4444
/* Standard syntax */
45+
/* avoid double selection */
46+
caret-color: rgba(255, 255, 255, 0) !important;
4547
}
4648
</style>
4749
</head>

0 commit comments

Comments
 (0)