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

Articles Tagged
css animation

41 Articles
{
,

}
Image
Direct link to the article A Handy Little System for Animated Entrances in CSS
animation animation-delay css animation keyframes

A Handy Little System for Animated Entrances in CSS

I love little touches that make a website feel like more than just a static document. What if web content wouldn’t just “appear” when a page loaded, but instead popped, slid, faded, or spun into place? It might be a …

Image
Neale Van Fleet on Nov 26, 2021 Updated on Nov 29, 2021
Image
Direct link to the article Of Course We Can Make a CSS-Only Clock That Tells the Current Time!
calc css animation custom properties

Of Course We Can Make a CSS-Only Clock That Tells the Current Time!

Let’s build a fully functioning and settable “analog” clock with CSS custom properties and the calc() function. Then we’ll convert it into a “digital” clock as well. All this with no JavaScript!…

Image
Mate Marschalko on Jul 16, 2021
Image
Direct link to the article Advanced CSS Animation Using cubic-bezier()
css animation cubic-bezier houdini

Advanced CSS Animation Using cubic-bezier()

When dealing with complex CSS animations, there is a tendency to create expansive @keyframes with lots of declarations. There are a couple of tricks though that I want to talk about that might help make things easier, while staying in …

Image
Temani Afif on May 13, 2021
Image
Direct link to the article Image Fragmentation Effect With CSS Masks and Custom Properties
@property css animation custom properties mask

Image Fragmentation Effect With CSS Masks and Custom Properties

Geoff shared this idea of a checkerboard where the tiles disappear one-by-one to reveal an image. In it, an element has a background image, then a CSS Grid layout holds the “tiles” that go from a filled background color to …

Image
Temani Afif on Mar 23, 2021
Image
Direct link to the article Exploring @property and its Animating Powers
@property css animation custom properties

Exploring @property and its Animating Powers

Uh, what’s @property? It’s a new CSS feature! It gives you superpowers. No joke, there is stuff that @property can do that unlocks things in CSS we’ve never been able to do before.

While everything about @property is exciting, …

Image
Jhey Tompkins on Mar 4, 2021
Image
Direct link to the article Animating a CSS Gradient Border
@property border css animation gradients

Animating a CSS Gradient Border

This little trick for gradient borders is super useful:

.border-gradient {
  border: 5px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(to left, #743ad5, #d53a9d);
}

Here’s some basic demos from our article on the subject. Sephanie Eckles was sharing around the idea …

Image
Chris Coyier on Feb 8, 2021
Image
Direct link to the article Re-Creating the Porky Pig Animation from Looney Tunes in CSS
css animation perspective transform

Re-Creating the Porky Pig Animation from Looney Tunes in CSS

You know, Porky Pig coming out of those red rings announcing the end of a Looney Tunes cartoon. We’ll get there, but first we need to cover some CSS concepts.…

Image
Kilian Valkhof on Jan 26, 2021 Updated on Feb 4, 2021
Image
Direct link to the article Checkerboard Reveal
css animation grid

Checkerboard Reveal

Back when I was 10, I remember my cousin visiting our house. He was (and still is) a cool kid, the kind who’d bring his own self-programmed chess game on a floppy disk. And his version of chess was …

Image
Geoff Graham on Jan 25, 2021
Image
Direct link to the article AnimXYZ
css animation

AnimXYZ

There are quite a few CSS animation libraries. They tend to be a pile of class names that you can apply as needed like “bounce” or “slide-right” and it’ll… do those things. They tend to be pretty opinionated with …

Image
Chris Coyier on Jan 18, 2021
  • Image Newer
  • 1
  • 2
  • 3
  • ...
  • 5
  • Older Image

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
Advertisement