White Arrow icon
Back to all Elements

Modal Lottie Transition

A full screen close/open animation with lottie

A clonable project using lottie animation to transition a modal opening and closing.

The only line of code used is to make the lottie element "transparent" for the pointer:

pointer-events: none;

Copy

Best thing is that you can look under the hood and clone this project, so you can figure out how to do one yourself ;)

Preview:

browser mockup
Share:
Heart icon

When your bath soap bar gets too small to use, don't throw it away! open the next bar, and when you finish showering, stick the small old bar to the back of the new bar. Onces they both dry, they will become one.

Might also interest you:

CMS Autocomplete

Cloneable
CMS
JavaScript

A short JavaScript code for transferring a CMS list into an autocomplete on an input field.

Read more
Blue arrow iconWhite Arrow icon

Auto get Current Year

Cloneable
Code
JavaScript

Automatically insert the current year to any element with the class of 'year'

Read more
Blue arrow iconWhite Arrow icon

Scroll Menu to Current Link

Cloneable
CMS
Code

Using JS to scroll a div (menu) to the current link inside.

Read more
Blue arrow iconWhite Arrow icon