Answers for "--text-color css selector"

10

custom selection color css

::selection {
	color: #000000;
	background-color: red;
}

/* for firefox */
::moz-selection {
	color: #000000;
	background-color: red;
}
Posted by: Guest on March-28-2020
1

css mark color

<style>
mark { 
  background-color: yellow;
  color: black;
}
</style>

<mark>Highlighted text!!</mark>
Posted by: Guest on March-23-2020

Browse Popular Code Answers by Language