Boring Text? Spin It with JavaScript

DesignCourse on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI3 min

About this video

A short tutorial on building a scroll-activated spinning text effect using one HTML element, a little CSS and vanilla JavaScript. It suits people who already have some CSS and JavaScript and want to add motion to a web page.

What you’ll learn

  • Build a scroll-activated spinning text effect with one HTML element
  • Use CSS and vanilla JavaScript to drive the animation on scroll