Can add animation to trigger icon using css or javascript?

I want to add animation on trigger icon using css or javascript so is it possible to add it ?

Hi

Sorry, there is no way to modify trigger icons via javascript or css.
However, you can use any object in the scene as a trigger, just set trigger Type to Object type :
image

Such custom triggers can use video textures for animation, or can rotate using the Rotate setting available in the Objects tab.