Blinking Handsome Brunet (JS help needed)

Hi everyone,

Webflow newbie here. I created some sites as sandboxes, this one
https://preview.webflow.com/preview/animacje?preview=1c8b79a5c52c5e7500e2981347bb530e
is super-simple animation test.

Could anyone help me with this: I would like the Hansome Brunet to blink randomly between 3–10 seconds.
(blinking is just a simple div moving up and down every 5 seconds). I Found the snippet
Math.floor((Math.random() * 10) + 3); but I because I’m shite with JS, I don’t know how to construct the code to put before closing </body>.

My simplest idea is to put the as a waiting between transforms time.

Any help would be greatly appreciated!

Michal

There is no way to have a random “wait” time in the interactions.

If you can custom-code the animation yourself, then you can use the random timeout.

Thanks for the replay.
I know that it’s not possible directly from Webflow and I have to put a custom code.
My problem is that JS is a black magic for me unfortunately :confused: