+ 1

can someone please help!

hello everyone, i have a several css animations and i would love to know how to trigger them with a js button function does anybody have an idea how this would work pleeease ?

11th Dec 2018, 7:36 PM
Bill mess
Bill mess - avatar
2 ответов
+ 3
Maybe you can define them in a css class and write a code in js to add that class on click. Take a look: https://www.w3schools.com/howto/howto_js_add_class.asp
11th Dec 2018, 9:36 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 1
i apreciate it thank you very much !!
13th Dec 2018, 3:11 PM
Bill mess
Bill mess - avatar