Perspective: How to use css theme classes on components?

I was able to get some animations working by doing as cmallonee suggested. Create or modify one of the CSS theme files and do something like:

.psc-SomeStyleName {
    animation: <some animation CSS here>;
}

Keyframes work, as well. Then you just type SomeStyleName into the style.classes property of your component and you're good to go.

These posts might explain it better than I can.

On another note, I was able to get a tooltip to show up with some static text, but I've been looking for a way to change it within the designer, maybe as a component property. I am learning as I go with CSS, so if anyone has any suggestions I would appreciate it.

1 Like