Тёмный

CSS3 Animation & Transitions Crash Course 

Traversy Media
Подписаться 2,3 млн
Просмотров 433 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 390   
@mahdiarkhorramian1675
@mahdiarkhorramian1675 5 лет назад
That was incredibly simple yet sufficient tutorial, tnx a million dude
@blazebyte277
@blazebyte277 5 лет назад
I'm a beginner web coder in my second semester for web design, and this video has helped me a lot for my CSS animation assignment. Thank you!
@alexeysolovyev334
@alexeysolovyev334 7 лет назад
As far as i know. you should always look to avoid animating properties that will trigger layout or paints, both of which are expensive and may lead to skipped frames(top, bottom etc). So you can use "transform(x, y)" to move elements on the page instead of top or left
@szyszak
@szyszak 6 лет назад
Yup, it's called "layout thrashing".
@Nm-qj4sy
@Nm-qj4sy 7 лет назад
I am working on a website for a school project and this video was just what i needed! THANK YOU SO MUCH!
@alexweissnicht9545
@alexweissnicht9545 7 лет назад
We will start a school projekt soon where we are allowed to use only css and html this will be very helpfull thanks :-) Best wishes from Germany👍😇
@TraversyMedia
@TraversyMedia 7 лет назад
Alex Weissnicht sounds fun. Good luck!
@gstff
@gstff 5 лет назад
Haha noch mehr deutsche
@okandme
@okandme 4 года назад
big school projekt
@ivanyosifov2629
@ivanyosifov2629 7 лет назад
Actually animating top and left properties is a bad idea. Browsers are optimized to animate opacity and transform. It's much more performant to write @keyframes heading{ 0%{ transform: translateY(-50px); } 100%{ transform: translateY(140px); } } than to write @keyframes heading{ 0%{ top: -50px; } 100%{ top: 140px; } }
@hatemsaad3421
@hatemsaad3421 5 лет назад
@jantje beton he's right, you don't want to trigger layouts and make it impossible for the browser to composite using the GPU. Use transform instead.
@Vaaaaadim
@Vaaaaadim 5 лет назад
@jantje beton Yo, calm down there. You can't just destroy a man's whole career like that!
@chosenlink2
@chosenlink2 5 лет назад
Great point!
@sjn_
@sjn_ 5 лет назад
@jantje beton He is right, I have done an experiment on this after seeing a video and it's indeed true. Animating Transform and Opacity is much more performance friendly than animating any other properties. Though, this is just a tutorial based on animation, I don't think it's that big of a deal. However, Brad should've mentioned it in the video. But this usually comes in mind if devs actually care about their site performance. Not everyone is aware of this.
@mahmoudhassen4463
@mahmoudhassen4463 5 лет назад
It works either ways so who cares
@bennash1878
@bennash1878 2 года назад
I've watched so many tutorials, but I always find my way back to Brad.
@SunnybraeCroft
@SunnybraeCroft 5 лет назад
A cold windy day on the Isle of Skye, I cannot think of no better way to spend it than sitting down with the computer and working my way through the animations and transitions. Many thanks for your time. Regards Hugh
@samuelstroh8631
@samuelstroh8631 3 года назад
Thank you for the tutorial, it's one of the few who actually teaches you stuff instead of just talking to gain minutes of view time and asking for subscribe. That being said, new follower here :D
@rickloesch5918
@rickloesch5918 4 года назад
Great video for beginning animators..I'm very old school and was still using flash, but this will get me well on my way to using css. YOU ROCK!
@thallesyurisilvaoliveira9128
@thallesyurisilvaoliveira9128 3 года назад
This is one off the best tutorials I ever seen, congratulations for your job man! Subscribed from now!
@madrinsx8770
@madrinsx8770 6 лет назад
Omg! ..I don't know how much I can thank you but truthfully I was stuck with CSS3 and thankfully I found your videos ... 😍😍😍thank you so much for such great tutorials 😍looking forward to JS 2😍
@alcprado
@alcprado 7 лет назад
Hey Brad, these things are all around on the internet and all ready for use, however, this is real good to know how they are made and actually it gives you enough knowledge to change or do whatever u want with them. Thanks!!!
@AS-zw4lk
@AS-zw4lk 6 лет назад
I learned a little something! Much appreciated. Thank you.
@ionut1234567891011
@ionut1234567891011 7 лет назад
hi, brad i wanna say thank you for tutorials and i wish to you and your family health and happiness!!
@ho96
@ho96 2 года назад
Thanks for the video. I am a beginner and It’s really very helpful and very importantly is the calmness with which you teach. It makes it look like you are right in front of the audience. You’re amazing!
@wakweikafelix
@wakweikafelix 2 года назад
Just got done following this tuorial and it's been an amazing way to spend a Saturday morning. Thank you for sharing!
@mufaddalm32
@mufaddalm32 3 года назад
I like traversy media because the methods are really simple and understandable. While other tutorials put up their codes without explaining their proper use and sometimes they seem quite useless.
@arvindersingh6638
@arvindersingh6638 5 лет назад
you are wonderful sir i have watched your lots of videos you teach like a world best teacher. hats off to you i really appreciate your hardwork and experience.your videos are really helpful
@박초코-e8r
@박초코-e8r 5 лет назад
/* TRANSITIONAL PROPERTIES -Properties that have an identifiable halfway point background-color background-position border-color border-width border-spacing bottom color font-size font-weight height left letter-spacing line-height margin max-height max-width min-height min-width opacity outline-color outline-offset outline-width padding right text-indent text-shadow top vertical-align visibility width word-spacing z-index */
@paulosantana9607
@paulosantana9607 4 года назад
Thank you!
@williamshakespeare2482
@williamshakespeare2482 7 лет назад
Thank you. I just finished learning this and it was great to see how you did the same things using only CSS. Plus, your way is easier.
@davidcraft4909
@davidcraft4909 5 лет назад
You know what makes this video so good, well I'm not sure but its really good. In a lot of your videos you actually teach people how to do stuff while most others you have to just copy their whole code and try to reverse engineer it to figure out what does what. As soon as you go to keyframes and the 0 to 100 percent stuff I paused your video and kind of went on my own with it and wow. but now I'm watching it again learning some more stuff. great video as usual and thanks for making them.
@abdulnadeem3739
@abdulnadeem3739 4 года назад
You cleared all my doubts about CSS Animations & Transition. Thanks
@gizellystefanny
@gizellystefanny 7 лет назад
The best channel, Thanks!!!!
@hanzlaahabib
@hanzlaahabib 6 лет назад
True
@insideTheDiv
@insideTheDiv 5 лет назад
maybe true
@seemcat
@seemcat 5 лет назад
AHH, as always you never fail to disappoint me with your lessons. I learned SO much & have the tools I need to finish my tasks for a side project I'm working on. Thank you so much!
@shub.trivedi03
@shub.trivedi03 3 года назад
Best tutorial on animation and transition
@minecrafthamody3082
@minecrafthamody3082 3 года назад
In 14:55 the code looks messy by using all these statements separately, you can do it only in one line with one statement called (animation) ``` animation: name time func delay iteration dir fill play; animation: none 0s ease 0s 1 normal none running; ```
@codeIMperfect
@codeIMperfect 3 года назад
You built the Pyramids!!
@zouhairsahtout9682
@zouhairsahtout9682 2 года назад
thank you so much bro i almost understand everything, now i have some knowledge that i can play with
@MrIhatefrogs
@MrIhatefrogs 6 лет назад
Wow! only with you I finally understand very clear on how to use the css animation and transition. ive been using all your tutorials to become a frontend developer. thank you for teaching us!
@sakinebarati7448
@sakinebarati7448 3 года назад
thanks a lot . I'm beginner in html and css and your channel is very helpful for me.❤❤
@wyrms4byrds341
@wyrms4byrds341 3 года назад
Fantastic tutorial! I really needed this for my current web project.
@Rubariton
@Rubariton 4 года назад
Such a good video. Many thanks. No bs, just plain facts and aplication of the theory
@ph3mmy136
@ph3mmy136 3 года назад
Downloaded this offline. But it would be criminal if I didn't come back and give you a like and a sub. This was super helpful. Thank you
@flashgamewalkthroughs5145
@flashgamewalkthroughs5145 6 лет назад
I did the button rotation as a part of the animation, which I think looks pretty cool. It does get stuck for a little moment and then continues spinning around. But if you wanna do the rotation during the animation, your @keyframes code should look something just like this (I changed the name from "btn" to "button"): @keyframes button { 0% { opacity: 0; transform: rotateY(120deg); } 33.3% { opacity: .5; transform: rotateY(240deg); } 100% { opacity: 1; transform: rotateY(360deg); } }
@nwabuzorchukwuemekaobiora7361
@nwabuzorchukwuemekaobiora7361 5 лет назад
You're amazing!!!! Thanks for this css eye-opener.
@jatindersingh9659
@jatindersingh9659 4 года назад
Just want to say thanks man...may the code gods be with you.
@melwinalm
@melwinalm 6 лет назад
A real quick way to get started with Animations and Transitions
@Saurabh2816
@Saurabh2816 6 лет назад
you are the only youtuber I don't mind watching sponsor ads on..
@hanzlaahabib
@hanzlaahabib 6 лет назад
haha true
@petrusheikkila734
@petrusheikkila734 5 лет назад
Thanks a lot, man! This was suuuper helpful as I am learning HTML- and CSS-language in school. I actually feel like I am making something good :).
@itsnobledean9450
@itsnobledean9450 Год назад
I enjoyed the video and learned tons.
@cj4717
@cj4717 3 года назад
Thank you for the amazing course
@Richard-wh6wg
@Richard-wh6wg 5 лет назад
I'm actually surprised everytime you say it's a basic introduction, because your crash courses cover more things than the entire web develpoment course I've made
@priyaranjan1733
@priyaranjan1733 6 лет назад
Thank you Brad! 'ease' is the default for 'animation-timing-function' not 'ease-in-out' @ 13:00 ;)
@farzeenshareef1380
@farzeenshareef1380 3 года назад
Brilliant video sir. Thanks for this one.
@HPTBANDIT
@HPTBANDIT 7 лет назад
Would you mind doing a video on how to trigger animation on the window/scroll with jquery?
@joseluisdeoliveirasantos9131
@joseluisdeoliveirasantos9131 6 лет назад
Really cool, easy to understand, objective approach. Thank you.
@immohaimenul
@immohaimenul 4 года назад
love it Traversy
@ianonline
@ianonline 6 лет назад
Hey Brad, this looks like a great video, but why do the tutorials never work as well as shown?! I noticed the "curly brackets" { and } are shown as white for me, and I wonder why did your file auto-update with CSS changes when the HTML file isn't shown to be sourcing the CSS from the CSS file? See 03:00 for 50 seconds. When you go back to the HTML file at 15:14, it does show the code linking to the CSS file but the vital step of linking the file isn't mentioned. I'm also typing everything the ling way around as I don't know any of the shortcuts, although some I'm figuring out.
@lettiphas
@lettiphas 5 лет назад
Perhaps he forgot to mention but the css is linked at around 3:18.
@lanc3068
@lanc3068 5 лет назад
You are very awesome I didn't know anything but after this video I leart many things about animation I will like your video
@GGSoft2009
@GGSoft2009 2 года назад
That's why I love this chanel.
@przemekfijak411
@przemekfijak411 7 лет назад
Hell yes! I've been waiting so long for it, thanks Brad! P.S. Please turn the subtitles in every video, my English isn't perfect, subtitles are very helpful :)
@mehransayed3690
@mehransayed3690 3 года назад
It was just wonderful n helped me a lot, thank you so much sir, may God bless you ✨🙏🏻 From Afghanistan 🇦🇫
@GoinFurthur
@GoinFurthur 5 лет назад
Great video. Super clear and easy to understand. Thank you for this!
@sobeyyy
@sobeyyy 4 года назад
Thank you so much for this video, I just took a new position where I have a lot more styling responsibility so this will help me make it through the next week. EEEEK :)
@chintandeshpande4025
@chintandeshpande4025 4 года назад
Sir ... You are amazing.....plz keep posting more video's like these
@Algebrodadio
@Algebrodadio 7 лет назад
Dude.. Been waiting for this. I'm excited it's here.
@nelsonking
@nelsonking 7 лет назад
You are an absolute blessing Brad!
@al_peterson
@al_peterson 3 года назад
Thanks Brad! Great tutorial for beginners!
@mukkuvaninthesea771
@mukkuvaninthesea771 5 лет назад
This is what i was searching for weeks .. tq so much
@PaulBarrett
@PaulBarrett 7 лет назад
You absolute legend Brad, I've been wondering how to do that cool colour effect on the text on the animate.css landing page where it cycles the colours, you've answered this without even being asked. Keep up the good work, love your videos.
@foy5051
@foy5051 2 года назад
This was simple and easy to understand. Thank you🔥🙌🏿
@programmingcubsaslamandpri6375
Plz god send this guy as my teacher
@nikkobenosa9841
@nikkobenosa9841 3 года назад
Thank you for this beautiful content sir
@665vizinhodabesta
@665vizinhodabesta 6 лет назад
Great video. The best I've seen about CSS.
@Coachhere
@Coachhere 7 лет назад
Nice video very detailed and informative I would only suggest you telling something about the cross-browser compatibility
@panomapet9441
@panomapet9441 4 года назад
Amazing Traversy. U r doing amazing work!
@dzenetahajdarpasic1113
@dzenetahajdarpasic1113 4 года назад
That pic on your computer display today is of my country
@shibluhyder4259
@shibluhyder4259 3 года назад
Great tutorial! Very important video for beginner. Thanks a lot!
@JasonLee-ml1mb
@JasonLee-ml1mb 6 лет назад
Brad, you're the best. Thanks for all you do!
@joey1317
@joey1317 3 года назад
Thank you so much for helping me! You are a life saver!
@DavidNYIRINGABO
@DavidNYIRINGABO Год назад
This is really helpful, Thanks by the way
@TheAleksadnar
@TheAleksadnar 7 лет назад
Hell of a tutorial...always great stuff on this channel!
@blunderfoxbeta
@blunderfoxbeta 6 лет назад
I really liked your way of teaching
@yashdeore473
@yashdeore473 3 года назад
this tutorial was very helpful thanks a lot 👍👍👍👍👍👍
@Moshe5573
@Moshe5573 5 лет назад
I learned so much from this tutorial. Thank you and would be very interested in seeing more.
@UnaNeary
@UnaNeary 4 года назад
Thank you so much for this. Great starting point.on how CSS keyframes work. I was struggling. I did not know about the animation-fill-mode: forwards; Though I did have to add some more code to get it to work on my div-block at 28:50 @keyframes my-example { 0%{ transform: translateY(50px); } 100%{ transform: translateY(-40px); } }
@minimaltechdev
@minimaltechdev 4 года назад
Nice tutorial and also nice animations
@JosueOrNoSway
@JosueOrNoSway 6 лет назад
Boss as always bruh, way better than crusty plugins
@mohanrajmuthusamy403
@mohanrajmuthusamy403 4 года назад
Awesome sir, I have learned lot of things on this video.
@floriansuess7525
@floriansuess7525 6 лет назад
I'm like a couple months into web dev (your php tutorial is responsible so thank you); but still, a disclaimer. I've been going nuts with animations in my first few projects, and I also wanna highlight that I have been playing around with particles.js heavily etc etc... Recently, for the first time, started noticing performance issues (especially when pissing around with particles), fps getting dragged down and stuff during certain animation sequences and all that jazz. Now this was on a high powered device too, so it must be overly bloated, which I totally understand and I suppose is easily solvable by removing stuff bla bla bla. Nevertheless; would be nice to see how we can gauge these issues using dev tools of some sort, and answer questions like 'how do we know our user has a buttery smooth experience?', 'are there specific red flags regarding animations or rule of thumbs for approach?' or 'how can we simulate a large array of different popular devices?' or is there a approach we can take that gives us an understanding of popular devices performances etc.. etc.. I haven't seen anything like this before and I believe principle training like this could better perfect some front-end peeps albeit, I can imagine this is a difficult thing to discuss about and subjectivity comes into play, but your a pro, and advice would be super valuable. Love your videos bro, your straight up teaching me everything 👊🏼 peace!
@homewalttechnologies1273
@homewalttechnologies1273 3 года назад
IT WAS A NOCE VIDEO ...VERY SIMPLE TO LEARN...KEEP IT UP...(PLEASE DO SOME ADVANCED LEVEL ANIMATION ON CSS, WE HAVE SUBSCRIBED YOUR CHANNEL FOR THAT)
@shashankshines
@shashankshines 4 года назад
Thabka for this awesome tutorial..much appreciated...feeling comfidemt in my project now.
@SonuKumar-yu6yh
@SonuKumar-yu6yh Год назад
Thank you Brad!
@OrincyWhyteDesigns
@OrincyWhyteDesigns 2 года назад
SUCH A SOLID VIDEO👏🏾👏🏾
@ngelemar
@ngelemar Год назад
If you hover around the button while the animation is still in progress you can see the mouse changes and you can click it without seeing it. One way to avoid this is to use "pointer-events: none;" in the .btn class then at 100% {...; "pointer-events: all;"} here's where I got this trick: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Xc6G3oV24yE.html
@HarrysSecretWife
@HarrysSecretWife 4 года назад
This was amazing and extremely helpful! Thank you so much
@kodindoyannick5328
@kodindoyannick5328 4 года назад
Very interesting. Thank Brad.
@dsa-7015
@dsa-7015 3 года назад
thank you man you are a life saver
@AyyazTech
@AyyazTech 2 года назад
Very easy and simple. I really appreciate for great video. Thanks and Keep it up
@MrThisistooeasy
@MrThisistooeasy 6 лет назад
loving your channel
@nishantkumar6960
@nishantkumar6960 4 года назад
You are the tech-god.
@craiggazimbi
@craiggazimbi 4 года назад
Thank you Brad !!!
@mokshaGyanRam
@mokshaGyanRam 5 лет назад
Awesome course thanks man
@sagarmaheshwary3150
@sagarmaheshwary3150 7 лет назад
Thank you for your hard work Sir. your videos are amazing.
@Ic9us
@Ic9us 4 года назад
thanks for sharing.. great info
@topujss
@topujss 3 года назад
You are HERO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Brad !Thx for this awesome animation! and you all THX for scrolling
@Joost1092
@Joost1092 3 года назад
Awesome, thanks!
@mikeychars2536
@mikeychars2536 5 лет назад
Great tutorial
@sivakalyan3121
@sivakalyan3121 7 лет назад
Wow amazinggot excited with the title and icon itself soon will see and practice ..keep rocking and let us always rock Brad with the knowledge you are sharing to us ... If possible try to create some applications even though they are small and simple but total front end to back end for an application ..it should be like there should be 50 lines of all the languages that we use to create a full length application ...my sincere request ..plz try
Далее
Ractive.js Crash Course
41:57
Просмотров 12 тыс.
А Вы за пластику?
00:31
Просмотров 11 тыс.
Sass Crash Course
48:05
Просмотров 400 тыс.
Flexbox Crash Course 2024
46:54
Просмотров 432 тыс.
Learn CSS Animations In 20 Minutes - For Beginners
21:22
CSS Grid Crash Course
53:45
Просмотров 320 тыс.
Learn CSS Animation In 15 Minutes
15:33
Просмотров 767 тыс.
Flexbox Tutorial (CSS): Real Layout Examples
28:46
7 ways to deal with CSS
6:23
Просмотров 1,1 млн
Basic Parallax Website With HTML & CSS
20:48
Просмотров 439 тыс.
Coding Was HARD Until I Learned These 5 Things...
8:34
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27