Make Superior SVG Animations with CSS // 7 Helpful Strategies



Study 7 helpful SVG animation strategies to make lovely graphics to your web site. On this tutorial, we’ll construct two totally different SVGs from scratch and animate them CSS. Supply code: https://github.com/fireship-io/animated-svg-demo

00:00 What we’re constructing
00:42 What’s an SVG?
02:22 1. Chrome Animation Inspector
03:11 2. Drawing Teams
05:10 3. Duotone CSS Variables
06:30 4. Transition Animations
07:41 5. JS occasions
08:36 6. Keyframe Animations
10:11 7. Animation Staggering

#css #animation #tutorial

Additionally see…

SVG in 100 Seconds https://youtu.be/emFMHH2Bfvo
CSS Keyframe Animation https://developer.mozilla.org/en-US/docs/Net/CSS/@keyframes
SVG Docs https://developer.mozilla.org/en-US/docs/Net/SVG

Set up the quiz app 馃

iOS https://itunes.apple.com/us/app/fireship/id1462592372?mt=8
Android https://play.google.com/retailer/apps/particulars?id=io.fireship.quizapp

Improve to Fireship PRO at https://fireship.io/professional
Use code lORhwXd2 for 25% off your first cost.

My VS Code Theme

– Atom One Darkish
– vscode-icons
– Fira Code Font

source

40 thoughts on “Make Superior SVG Animations with CSS // 7 Helpful Strategies”

  1. Ok why didnt you have to use
    transform-origin: center; transform-box: fill-box;?

    Wasnt this property required to make segments of svg animatable in accordance with it's center?

    Reply
  2. As someone who learnt After Effects before learning to code, this seems so cumbersome. There should be an easier way to do this, and no I'm not talking about just importing the animations separately.

    Reply
  3. Jeff you're a hero! Thank you a ton for making these videos. Hope they cryogenically preserve you so that the dev community never loses you. You need to be protected.

    Reply
  4. I never knew about the animations tab in chrome dev tools.
    There are so many things I learn from your videos in such a short amount of time.

    Keep up the good work 鈽猴笍!

    Reply
  5. i have an svg object that i created that is two geometric objects in one, i grouped them under one id however when i apply a hover animation, they are effected seperately, any tips

    Reply

Leave a Comment