📜  更改 html 中标记标签的颜色 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:26.348000             🧑  作者: Mango

代码示例1
/*Apply to all mark tags*/
mark {
  background-color: blue; /*Add your desired color*/
}
/*Apply it to a class*/
.mark { 
  background-color: blue; /*Add your desired color*/
}
/*Apply it to an ID*/
#mark {
  background-color: blue; /*Add your desired color*/
}