Apply .animsition to <body> or <main> based on your need. So your element fade in. You can change default animation for IN and OUT state by applying data-animsition-in-class and data-animsition-out-class to .animsition.

Give data-provide="animsition" to each <a> element that you want to activate OUT animation on.

Read the official documentation to learn more about it.