Hello all,
I am trying to understand how to use animation.js:
This is what I did:
And the result is only HTML text. I expect to see : http://animejs.com/documentation/#functionBasedDuration
The first animation appears. I wonder what's lacking. My link to the js is already correct:
<html>
<head>
<script src="anime-master/anime.min.js"></script>
<script>
var cssSelector = anime({
targets: '#cssSelector .el',
translateX: 250
});
</script>
</head>
<body style="background-color: gray;">
HTML
<div id="cssSelector">
<div class="line">
<div class="square el"></div>
</div>
</div>
</body>
</html>