SVG wave animation - Two different ways

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI24 min

About this video

Kevin Powell compares two ways to animate an SVG wave that hides part of a page's content: a CSS keyframes animation and an SMIL animation built into the SVG specification. It is a coding tutorial for people building web interfaces.

What you’ll learn

  • Animate an SVG wave shape with CSS keyframes
  • Animate an SVG wave shape with SMIL
  • Compare the two approaches for hiding content behind a wave