You can do whatever you want with attributes and classes, all that matters is the formula that triggers the class.
So on your anchor, go to classes in the attributes panel, and create one called “active” (for example), and in the formula for it set it to is-active = true.
Then go to your anchor, in the styles section of the style panel you’ll press the plus and in the classes dropdown you’ll find the .active class and set your styles there.