SVG & CSS Animation - Using HTML & CSS
4.5 (909 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
9,476 students enrolled

SVG & CSS Animation - Using HTML & CSS

Learn the fundamentals of creating SVG animations in the browser using HTML & CSS.
4.5 (909 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
9,476 students enrolled
Created by Code Collective
Last updated 5/2015
English [Auto]
Current price: $44.99 Original price: $64.99 Discount: 31% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 1.5 hours on-demand video
  • 6 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Create SVG animations using HTML & CSS
  • Prototype animations in the online tool Codepen
  • Explain the CSS properties needed for SVG line animations in the browser
Course content
Expand all 24 lectures 01:23:52
+ Start Here
1 lecture 01:52

A brief Introduction and overview of the course.

Preview 01:52
+ Course tools
3 lectures 06:06

A quick introduction to the online editing tool We look at creating a new pen.

Preview 03:14

A quick introduction into the editing software Sublime Text.

Introduction to Sublime Text

A quick look at creating shapes in a vector graphics tool like Adobe Illustrator.

Introduction to Adobe Illustrator
+ Create Your First SVG Animation
4 lectures 13:45

Take a sneak peak at this first projects results.

First Project Preview and Introduction

We create our first SVG using Adobe Illustrator. The SVG file is available as a resources for all those who do not have a vector graphics tool or do not wish to follow along with this lecture.

Create an SVG in Illustrator

Open the SVG file with a text editor to view the code behind the image.

Importing an SVG to

In this lecture we look at using the CSS transition technique to create an animation when hovering over our SVG element.

Creating the SVG Animation
+ Create Your Second SVG Animation
6 lectures 20:35

In this second project we create a more detailed SVG that incorporates test elements. Make sure to remember to use right click > "create outlines" whenever making text in your SVG. The SVG file is available as a resource.

Second SVG Project Intro

We use a text editor to view the SVG and copy it into a new project at Codepen. The SVG is available as a resources in the previous lecture if needed.

Import and Style SVG

Lets take a look at the animation we are trying to achive in this project.

Preview 02:16
Using CSS Animations Part 1

Create the animating circle outline.

Using CSS Animations Part 2

Create the animating text within the circle.

Improving the Animation
+ Create Your Third SVG Animation
5 lectures 15:57

The 3rd animation project - Minimal. Preview the animation we will create in this section.

The SVG is available as a resource in the next lecture.

Introduction to Minimal SVG Project

Import the SVG code to Codepen and setup the project.

Preview 03:39

Part one of creating our Minimal animation project. The outline.

Create Animation Part 1

Part two of creating our Minimal animation project. The Diagonal lines.

Create Animation Part 2

Part three of our Minimal animation project. Animating Text with Animation delay.

Create Animation Part 3
+ More Animation techniques
3 lectures 18:35

A quick look at rotation.

Transform Rotate Introduction

Looking at making use of dashed lines instead of solid lines. Creates a unique effect.

Making use of Dashed Stroke

Animating the size of shapes to create intereting effects.

Using Transform Scale
+ Adding your SVG Animation to a HTML Page
1 lecture 06:27

We use a template from and add in one of our SVG animations to go over how simple it is to integrate our work into a standard HTML page.

Adding an SVG Animation to Example HTML page
+ Course Close
1 lecture 00:35

Thank you and congratulations.

Course Completion
  • You should have a text editor ready for coding on your computer.
  • You can follow along with creating SVG images in vector tools like Adobe Illustrator. These files are provided for students who don't have the software or just want to code.
  • Should have some experience with HTML & CSS. Know how to use HTML tags for content and style those HTML tags using CSS classes.

★★★★★ "This course is well-structured and easy to follow. The instructor does a great job of explaining how to complete each step and as well as why they are needed." - Dan

★★★★★  "Good introduction to SVG animations. Good clear explanations of each example and providing SVG code for several elements was very helpful." - Michael

★★★★★  "This course is really helpful to get started on SVG animation journey, a wonderful course." - Veera

In this course we will cover the fundamental techniques using in CSS to create animated SVG elements. SVG images look perfect on any screen size and with the importance of mobile web have become increasingly popular. SVG allows you to create animations and take flat illustrations to a whole new level.

This course is perfect for both new and experienced web developers who are yet to use SVG within their projects. If you have used HTML and CSS before you will have the knowledge to follow along with the examples.

By the end of this short course you will have created three separate SVG animations from scratch. Each example adds useful techniques for future projects. In just 2 hours you will have the experience to create your own SVG animations.

Improve your web development skills in this short course and make your next project stand out.

Who this course is for:
  • Students should have some experience with creating websites with HTML & CSS.
  • No experience using SVG images is requied, we explain how to create and use SVG images in code for those with no prior knowledge.
  • This course is not suited for a student who is a complete beginner and never seen HTML code before.