html marking text code example
Example 1: change highlight color html
::-moz-selection { /* Code for Firefox */
color: red;
background: yellow;
}
::selection {
color: red;
background: yellow;
}
Example 2: mark tag in html
mark {
display: inline-block;
line-height: 0em;
padding-bottom: 0.5em;
}