SVG & CSS Animation - Using HTML & CSS

Learn the fundamentals of creating SVG animations in the browser using HTML & CSS.
4.7 (263 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
6,669 students enrolled
77% off
Take This Course
  • Lectures 24
  • Length 1.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 5/2015 English

Course Description

★★★★★ "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.

What are the requirements?

  • 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.

What am I going to get from this course?

  • 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

Who is the target audience?

  • 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.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Start Here

A brief Introduction and overview of the course.

Section 2: Course tools

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


A quick introduction into the editing software Sublime Text.


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

Section 3: Create Your First SVG Animation

Take a sneak peak at this first projects results.


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.


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


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

Section 4: Create Your Second SVG Animation

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.


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.


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

Using CSS Animations Part 1

Create the animating circle outline.


Create the animating text within the circle.

Section 5: Create Your Third SVG Animation

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.


Import the SVG code to Codepen and setup the project.


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


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


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

Section 6: More Animation techniques

A quick look at rotation.


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


Animating the size of shapes to create intereting effects.

Section 7: Adding your SVG Animation to a HTML Page

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.

Section 8: Course Close

Thank you and congratulations.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Code Collective, Level up your coding.

Level up your coding. Get ahead in the developer world. 

If you need a specific course please contact us and we can create courses on anything related to coding.

Ready to start learning?
Take This Course