Animating with CSS Transitions - A look at the transition properties
Animation on the web is an awesome way to both catch a users attention and to help improve the user experience when it is used correctly. The easiest way to add animation to your website is by using transitions, which we’ll look at in this tutorial.
In this video, I explore the four different transition properties, seeing what they do, and how to use them:
- transition-duration
- transition-property
- transition-timing-function
- transition-delay
Codepen from this video:
As well as the shorthand ’transition’ property, which allows us to combine all of the above into a single property, making life a lot easier.
I also talk a little bit about best practice, in that you want to try to focus on using your transitions on opacity and transform, and that’s about it. If you’d like a MUCH more in-depth exploration of this:
---
New to Sass, or want to step up your game with it? I’ve got a course just for you:
---
My Code Editor: VS Code -
How my browser refreshes when I save:
---
Support me on Patreon:
I’m on some other places on the internet too!
If you’d like a behind the scenes and previews of what’s coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.
Instagram:
Twitter:
Codepen:
Github:
1 view
901
363
1 month ago 00:01:37 1
MK1 Ghostface All Taunts & Victory Celebrations (4k 60fps)
1 month ago 00:02:04 1
KONOSUBA Adventures is Begins !!! Super Panavision 70
1 month ago 00:13:55 1
KINGDOM - Animated Short Film
1 month ago 00:03:18 1
진 (Jin) ’Running Wild’ Official MV
1 month ago 00:02:41 1
Freelance - Short Film
1 month ago 00:04:37 1
No more Running - Animal Collective HDR
2 months ago 00:01:20 1
Coca-Cola - Secret Santa (AI-Generated Christmas Ad 2024)
2 months ago 00:01:20 1
Windblown | Steam Early Access Launch Trailer
2 months ago 00:04:01 2
Cheeki Breeki: . 2 song ■ feat. Lenich & Kirya
2 months ago 00:18:11 1
Framer Tutorial: Animate Buttons Like a Pro
2 months ago 00:03:04 1
Bach, Organ Sonata No. 4 in E minor (BWV 528) 3. Un poco Allegro.
2 months ago 00:23:23 1
Create CONSISTENT CHARACTERS from an INPUT IMAGE with FLUX! (ComfyUI Tutorial + Installation Guide)
2 months ago 00:00:37 1
I AM KIRA || Death Note
2 months ago 00:04:14 1
The Hunter - Bloodborne (4K UHD 2024)
2 months ago 00:02:51 1
🎵OVERWATCH: No Mercy - The Living Tombstone 🎵
2 months ago 00:13:06 1
SMG4: SMG4 KIDS
2 months ago 00:04:19 1
The Fox | Historical Documentary Constructor
2 months ago 00:07:07 1
Honkai Impact 3rd Animation - Final Lesson
2 months ago 00:05:56 1
CG short film “Fallen Art“ - by Platige Image
2 months ago 00:02:02 12
DayZ Update Teaser
2 months ago 00:00:11 1
A girl rides a convertible against the backdrop of nature Spike music
2 months ago 00:32:28 1
Алукард - ДЕМОНЫ не плачут | ТРАГЕДИЯ МОНСТРА
2 months ago 00:03:18 1
“Dancing on the Edge“ — War Thunder official cinematic trailer