How do you change the background color of an element?

74 Views Asked by At

I'm going off this, this, and this.

I have a html file:

<html>
    <myelm>
        this is my cool elm
    </myelm>
    <span>FOOOO</span>
</html>

and I want the background color of the entire myelm element, including the inner text, to be red. How do I do that?

This turns the element names red. That's something. But not what I want:

"editor.tokenColorCustomizations": {
    "textMateRules": [
        {
            "scope": "entity.name.tag",
            "settings": {
                "foreground": "#ff0000"
            }
        }
    ]
}
0

There are 0 best solutions below