Answers for "how to change the highlight color in htm;"

CSS
3

html how to change highlight color

::selection {
  background: #ffb7b7; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #ffb7b7; /* Gecko Browsers */
}
Posted by: Guest on January-08-2021
5

change highlight color html

::-moz-selection { /* Code for Firefox */
  color: red;
  background: yellow;
}

::selection {
  color: red;
  background: yellow;
}
Posted by: Guest on August-04-2020

Code answers related to "how to change the highlight color in htm;"

Browse Popular Code Answers by Language