Legacy example
This example do not use any modern javascript syntax, neither modules.
You can safely copy/paste this legacy code and use it as a starting point for playing with Barba.
Code
In a web page called index.html
, put the following code:
1 |
|
In order to see the opacity transition properly run, you need to add another page next this one and link them together.
Be sure to read the markup section before diving into Barba.