Skip to main content
CSS-Tricks
  • Articles
  • Alamanac
  • Guides
  • Videos
  • Books
  • Newsletter
Search

Articles Tagged
transition

14 Articles
{
,

}
Direct link to the article Transitioning to Auto Height
animation transition

Transitioning to Auto Height

I know this is something Chris has wanted forever, so it’s no surprise he’s already got a fantastic write-up just a day after the news broke. In fact, I first learned about it from his post and was unable …

Avatar of Geoff Graham
Geoff Graham on Jun 28, 2024 (Updated on Jul 11, 2024)
Direct link to the article So, you’d like to animate the display property
animation display transition

So, you’d like to animate the display property

The CSS Working Group gave that a thumbs-up a couple weeks ago. The super-duper conceptual proposal being that we can animate or transition from, say, display: block to display: none.

It’s a bit of a brain-twister to reason …

Avatar of Geoff Graham
Geoff Graham on Dec 15, 2022
Direct link to the article Animated Background Stripes That Transition on Hover
gradients mix-blend-mode multiple backgrounds transition

Animated Background Stripes That Transition on Hover

How often to do you reach for the CSS background-size property? If you’re like me — and probably lots of other front-end folks — then it’s usually when you background-size: cover an image to fill the space of an entire …

Avatar of Preethi
Preethi on Dec 8, 2022
Direct link to the article Fancy Image Decorations: Outlines and Complex Animations
clip-path gradients hover mask outline transition

Fancy Image Decorations: Outlines and Complex Animations

We’ve spent the last two articles in this three-part series playing with gradients to make really neat image decorations using nothing but the <img> element. In this third and final piece, we are going to explore more techniques using the …

Avatar of Temani Afif
Temani Afif on Oct 28, 2022 (Updated on Jun 19, 2023)
Direct link to the article Animation Techniques for Adding and Removing Items From a Stack
animation transition

Animation Techniques for Adding and Removing Items From a Stack

Animating elements with CSS can either be quite easy or quite difficult depending on what you are trying to do. Changing the background color of a button when you hover over it? Easy. Animating the position and size of an …

Avatar of Luke Courtney
Luke Courtney on Oct 4, 2021
Direct link to the article Build Complex CSS Transitions using Custom Properties and cubic-bezier()
@property animation cubic-bezier transition

Build Complex CSS Transitions using Custom Properties and cubic-bezier()

I recently illustrated how we can achieve complex CSS animations using cubic-bezier() and how to do the same when it comes to CSS transitions. I was able to create complex hover effect without resorting to keyframes. In this article, I …

Avatar of Temani Afif
Temani Afif on Jul 14, 2021
Direct link to the article Nailing That Cool Dissolve Transition
animation canvas transition webgl

Nailing That Cool Dissolve Transition

We’re going to create an impressive transition effect between images that’s, dare I say, very simple to implement and apply to any site. We’ll be using the kampos library because it’s very good at doing exactly what we need. We’ll …

Avatar of Yehonatan Daniv
Yehonatan Daniv on Mar 31, 2021 (Updated on Apr 4, 2021)
Direct link to the article An Interactive Guide to CSS Transitions
transition

An Interactive Guide to CSS Transitions

A wonderful post by Josh that both introduces CSS transitions and covers the nuances for using them effectively. I like the advice about transitioning the position of an element, leaving the original space it occupied alone so it doesn’t result …

Avatar of Chris Coyier
Chris Coyier on Feb 25, 2021
Direct link to the article How to Create a Realistic Motion Blur with CSS Transitions
animation blur transition

How to Create a Realistic Motion Blur with CSS Transitions

Before we delve into making a realistic motion blur in CSS, it’s worth doing a quick dive into what motion blur is, so we can have a better idea of what we’re trying to reproduce.

Have you ever taken …

Avatar of Neale Van Fleet
Neale Van Fleet on Oct 14, 2020
Direct link to the article Stop Animations During Window Resizing
transition

Stop Animations During Window Resizing

Say you have page that has a bunch of transitions and animations on all sorts of elements. Some of them get triggered when the window is resized because they have to do with size of the page or position or …

Avatar of Chris Coyier
Chris Coyier on Oct 14, 2019
Direct link to the article Various Methods for Expanding a Box While Preserving the Border Radius
animation clip-path CSS scaling transform transition

Various Methods for Expanding a Box While Preserving the Border Radius

I’ve recently noticed an interesting change on CodePen: on hovering the pens on the homepage, there’s a rectangle with rounded corners expanding in the back.…

Avatar of Ana Tudor
Ana Tudor on Sep 6, 2019 (Updated on Sep 9, 2019)
  • 1
  • 2
  • Older

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

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