Created
August 21, 2019 03:59
-
-
Save kyrose/ab3edda003a073a61a0cd88432ee548e to your computer and use it in GitHub Desktop.
[Custom text selection] Changes the styling of text selection. #css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::selection { | |
background: aquamarine; | |
color: #150f05; | |
} | |
.custom-text-selection::selection { | |
background: deeppink; | |
color: #f9f9f9; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p class="custom-text-selection">Select some of this text.</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment