barba.js
Version:
Barba.js it's a small, flexible and dependency free library that helps you creating fluid and smooth transition between your website's pages.
17 lines (16 loc) • 406 B
HTML
<html>
<head>
<title>about</title>
</head>
<body>
<main id="barba-wrapper">
<div class="barba-container" data-namespace="about">
<h1>about page</h1>
<a href="index.html">home</a>
</div>
</main>
</body>
<script src="../../../dist/barba.js" type="text/javascript"></script>
<script src="./index.js" type="text/javascript"></script>
</html>