Skip to main content
CSS-Tricks
  • Articles
  • Notes
  • Links
  • Guides
  • Almanac
  • Picks
  • Shuffle
Search

Articles Tagged
animation

143 Articles
Direct link to the article Orbital Mechanics (or How I Optimized a CSS Keyframes Animation)
animation

Orbital Mechanics (or How I Optimized a CSS Keyframes Animation)

What does it look like to refactor your own code? John Rhea picks apart an old CSS animation he wrote and walks through the thought process of optimizing it.
John Rhea on May 8, 2025
GSAP.com homepage with text: "Animate Anything" the text is decorated with colorful shapes.
Direct link to the article GSAP is Now Completely Free, Even for Commercial Use!
animation resource

GSAP is Now Completely Free, Even for Commercial Use!

Along with the version 3.13 release, GSAP, and all its awesome plugins, are now freely available to everyone.
Ryan Trimble on May 6, 2025
Direct link to the article Quick Hit #45
animation resource

Quick Hit #45

The GSAP animation library and its plugins are now completely free for open use.…

Geoff Graham on May 1, 2025
Direct link to the article @keyframes
animation

@keyframes

The @keyframes at-rule sets the value of properties at different points during an animation, so instead of defining how each property should behave at each frame of an animation, we set its keyframes, and CSS will figure out (i.e., interpolate) the values between them.
Juan Diego Rodríguez on Apr 8, 2025
Direct link to the article SMIL on?
animation SVG

SMIL on?

Well, it turns out that SVG's built-in animation features were never deprecated as planned. Sure, CSS and JavaScript are more than capable of carrying the load, but it's good to know that SMIL is not dead in the water as previously thought, and is actually well-supported.
Geoff Graham on Apr 2, 2025
Direct link to the article animation-timeline
animation

animation-timeline

The animation-timeline CSS property controls the progress of animations using timelines beyond the traditional document timeline. Typically, CSS animations progress based on the amount of time passed in the document’s default timeline, which begins when the page is loaded. With …

Saleh Mubashar on Feb 18, 2025
Direct link to the article @starting-style
animation

@starting-style

The @starting-style at-rule in CSS allows us to define styles for elements just as they are first rendered in the DOM. The classic situation this solves is trying to animate an element from display: none.
Juan Diego Rodríguez on Feb 2, 2025
Direct link to the article Quick Hit #28
animation

Quick Hit #28

I like how I’m hearing animations distinguished as “time-based animations” (or TBA) and “scroll-driven animations” (or SDA). A third? Maybe “navigation-based animations” (or NBA, lol) for multi-page transitions?…

Geoff Graham on Nov 8, 2024
Direct link to the article Unleash the Power of Scroll-Driven Animations
animation Scroll Driven Animation

Unleash the Power of Scroll-Driven Animations

I’m utterly behind in learning about scroll-driven animations apart from the “reading progress bar” experiments all over CodePen. Well, I’m not exactly “green” on the topic; we’ve published a handful of articles on it including this neat-o one by Lee …

Geoff Graham on Jan 6, 2025
  • 1
  • 2
  • 3
  • ...
  • 16
  • Older

TOC

  1. Introduction
  2. Core Concepts: scroll() and ScrollTimeline
  3. Core Concepts: view() and ViewTimeline
  4. Timeline Ranges Demystified
  5. Core Concepts: Timeline Lookup and Named Timelines
  6. Add Scroll Shadows to a Scroll Container
  7. Animate Elements in Different Directions
  8. Animate 3D Models and More on Scroll
  9. Scroll Velocity Detection
  10. Outro

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • About DO
  • Cloudways
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Contact
  • Write for CSS-Tricks!
  • Advertise with us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • Bluesky
Back to Top