MathNotermans-9
21 days agoCommunity Member
Code in a post
What i really love as improvement in the new community.
The fact you now can add code... as code...
const texts = document.querySelectorAll('[data-acc-text="text2Change"]');
gsap.to(texts, {duration:0.7,scale:1.5});
texts.forEach(text => {
const txt = text.querySelector('text');
if (txt) {
txt.style.fill = "#C0504D";
}
});
And it is nicely colorcoded too.
Now implement this into Storyline too ;-)