JavaScript based animation libraries usually encapsulate the complex CSS syntax into something easier to use and provide new functionality not available in pure CSS based solution.