Color tags with the new properties

What I’m trying to do

I try to color the tags according to each tag, both when they’re in the text and in the properties.
I used to have css like that:

.tag[href="#cours"] {
  font-size: 0;
  padding: 0;
}

.tag[href="#cours"]:after {
  font-size: 9.5pt;
  font-weight: 700;
  background-color: rgba(128, 125, 124, 0.397);
  color: rgba(0, 0, 0, 0.788);
  content: "📒cours";
  padding: 3px 5px;
  border-radius: 10px;
  letter-spacing: -0.00ch;
}

Things I have tried

I haven’t found a way to specifically identify tags text in the html of new properties.
Do you know if it’s possible?

Me too.

The same question Looking to CSS color code the new properties

The same question Identifier for each tag in the properties, to apply css

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.