0

got a svg that swiches between coloroverlays, the style looks like this

.wsf-tshirt{fill:#fff;mix-blend-mode: multiply;}

and the java string that's included looks like this:

$('.wsf-tshirt').css({fill: '#field(391)', 'mix-blend-mode': 'multiply'});

Q: what elements do I add to make the transition last for a second-ish ?

Andreas Louv
  • 46,145
  • 13
  • 104
  • 123
  • `java` is not same as `javascript`, also looks like you are using `jQuery` as well, so update your tags to match that – Mr T Mar 23 '21 at 11:50
  • Do you mean change colour, then change back after a second? – Paul LeBeau Mar 23 '21 at 14:25
  • well, building a online store, and I need to style the transition-property that is instent right now, here's the project https://persienner.online/product/linknap/ I\m kind of new to any coding - how the shift between the two colors run smoothly or maybe with a gradiant effect or something .. – Bo Sandelin Mar 23 '21 at 15:35

0 Answers0