I mean, is there a property that does essentialy this, other than background-color? I don't like to use HTML if the same thing can be done with CSS.
background-color
You can't, but here is a solution: make a css class, and call it however you like, lets say - "my_mark".
.my_mark{ background-color: yellow; }
use is as a regular class and you got yourself a solution.
2.1m questions
2.1m answers
60 comments
57.0k users