Made in Webflow

Random translate on hover and slideshow

site profile thumbnail


Learning javascript using SuperHi courses, this uses two functions. The image changes on click is pretty straight forward. On click the zindex of the image changes so that it can be on top of others. The other function moves the images using a random value generated by math.random() function on mousehover.
Feeling inspired?If this Made In Webflow site sparked some inspo, why not get started on a project of your own? Clone a site, purchase a template or start building from scratch.

More by Mehul Srivastava

See profile
View details
Type Checker