Answers for "how to highlight an element using css"

CSS
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

Browse Popular Code Answers by Language