Skip to content

Commit 37fc62e

Browse files
CopilotDRSDavidSoft
andcommitted
Add ::selection for cross-browser text selection styling
Co-authored-by: DRSDavidSoft <[email protected]>
1 parent 0dae1e5 commit 37fc62e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
html, body, button, input, select, textarea {
1010
color: #212529;
1111
}
12+
::selection {
13+
background: #b3d4fc;
14+
text-shadow: none;
15+
}
1216
::-moz-selection {
1317
background: #b3d4fc;
1418
text-shadow: none;

0 commit comments

Comments
 (0)