DEV Community

Discussion on: Creating an Infinitely Zooming image (for ANTI-divtober 😉)

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

One thing that was interesting was creating an infinite loop, I don't think I have done that before (except as a GIF).

@alvaromontoro and @afif - as you can probably tell I was in a silly mood! I am sorry! 😋

Collapse
 
afif profile image
Temani Afif

well, we are used to this but let's hope Lynn will not get a heart attack 😬

This said, you can make your code with one div and no JS

Collapse
 
grahamthedev profile image
GrahamTheDev

I did try but I couldn’t get it right, I think it was the transform-origin I got wrong.

Always great to see a better way to do it!