Hello, let's say there is a link:
a { color: black; } a:before { content: '!'; } <a href="url">text</a> And there are several such links. There is a task to make the text color in :before multi-colored (each link has its own) before output (in php).
How can this be done? I was thinking of something like <a href="url" style="this::before{color: red;}">text</a> but it does not work.