Answers for "how to make an element highlight in css"

1

css mark color

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

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

mark tag in html

mark {
  display: inline-block;
  line-height: 0em;
  padding-bottom: 0.5em;
}
Posted by: Guest on April-28-2020

Code answers related to "how to make an element highlight in css"

Browse Popular Code Answers by Language