Color target items

Hi, is there any way to customize the color of target items?
I have tried this:

*:target { background: yellow; }

But it didn’t work for me.

You may need to add !important to override the default styling.

1 Like