Update index.html

Separate Transition Properties

Each transition property can optionally have its own duration, delay, and/or easing.

An optional callback can be passed as the second argument to transition(). The callback is run after all property transitions have completed. In this case, we will use it to remove the node from the document.