我有一个 html 文件:
<html>
<myelm>
this is my cool elm
</myelm>
<span>FOOOO</span>
</html>
我希望整个 myelm 元素(包括内部文本)的背景颜色为红色。我怎么做?
这会将元素名称变为红色。那是东西。但不是我想要的:
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "entity.name.tag",
"settings": {
"foreground": "#ff0000"
}
}
]
}