Art 114: Interactive Media and Design

Spring 2025 | Harrisburg Area Community College

Instructor: Rich Hauck, MPS

HTML5 Animation

The process of animating for the web is constantly evolving. As both CSS and JavaScript can perform animations, which should you choose? I'd recommend reading this article on CSS vs Javascript animation to start.

Below are a series of examples in JavaScript and CSS. While the future is most likely going to be the Web Animations API, there are still advantages and disadvantages to each. Here's a great CSS-Tricks article comparing animation technologies.

CSS

Javascript

SVG

External Libraries for Animation