CSS3 Animation & Transitions Crash Course

  Рет қаралды 432,701

Traversy Media

Traversy Media

Күн бұрын

Пікірлер: 390
@mahdiarkhorramian1675
@mahdiarkhorramian1675 5 жыл бұрын
That was incredibly simple yet sufficient tutorial, tnx a million dude
@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".
@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
@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😍
@codeIMperfect
@codeIMperfect 3 жыл бұрын
You built the Pyramids!!
@박초코-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!
@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!!!
@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
@shub.trivedi03
@shub.trivedi03 3 жыл бұрын
Best tutorial on animation and transition
@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); } }
@HPTBANDIT
@HPTBANDIT 7 жыл бұрын
Would you mind doing a video on how to trigger animation on the window/scroll with jquery?
@jatindersingh9659
@jatindersingh9659 4 жыл бұрын
Just want to say thanks man...may the code gods be with you.
@priyaranjan1733
@priyaranjan1733 7 жыл бұрын
Thank you Brad! 'ease' is the default for 'animation-timing-function' not 'ease-in-out' @ 13:00 ;)
@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
@zouhairsahtout9682
@zouhairsahtout9682 2 жыл бұрын
thank you so much bro i almost understand everything, now i have some knowledge that i can play with
@GGSoft2009
@GGSoft2009 2 жыл бұрын
That's why I love this chanel.
@programmingcubsaslamandpri6375
@programmingcubsaslamandpri6375 5 жыл бұрын
Plz god send this guy as my teacher
@itsnobledean9450
@itsnobledean9450 Жыл бұрын
I enjoyed the video and learned tons.
@OrincyWhyteDesigns
@OrincyWhyteDesigns 2 жыл бұрын
SUCH A SOLID VIDEO👏🏾👏🏾
@Rubariton
@Rubariton 4 жыл бұрын
Such a good video. Many thanks. No bs, just plain facts and aplication of the theory
@Coachhere
@Coachhere 7 жыл бұрын
Nice video very detailed and informative I would only suggest you telling something about the cross-browser compatibility
@JasonLee-ml1mb
@JasonLee-ml1mb 6 жыл бұрын
Brad, you're the best. Thanks for all you do!
@al_peterson
@al_peterson 3 жыл бұрын
Thanks Brad! Great tutorial for beginners!
@TheAleksadnar
@TheAleksadnar 7 жыл бұрын
Hell of a tutorial...always great stuff on this channel!
@JosueOrNoSway
@JosueOrNoSway 6 жыл бұрын
Boss as always bruh, way better than crusty plugins
@nikkobenosa9841
@nikkobenosa9841 3 жыл бұрын
Thank you for this beautiful content sir
@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
@mehransayed3690
@mehransayed3690 3 жыл бұрын
It was just wonderful n helped me a lot, thank you so much sir, may God bless you ✨🙏🏻 From Afghanistan 🇦🇫
@ayihayyy
@ayihayyy 5 жыл бұрын
no time stamps?
@mohammadsarfarazafzal
@mohammadsarfarazafzal 4 жыл бұрын
Thank you 3000 times.
@shashankshines
@shashankshines 4 жыл бұрын
Thabka for this awesome tutorial..much appreciated...feeling comfidemt in my project now.
@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)
@ishitamahatme9375
@ishitamahatme9375 3 жыл бұрын
Thank you so much for this! :D
@craiggazimbi
@craiggazimbi 4 жыл бұрын
Thank you Brad !!!
@crypticcoding9680
@crypticcoding9680 4 жыл бұрын
Thank you so much.
@Joost1092
@Joost1092 3 жыл бұрын
Awesome, thanks!
@TheLinguists
@TheLinguists 4 жыл бұрын
One question: after hovering over the Read More button, it flips 180 degrees, but also the text flips and stays in that condition. Is there any way to fix this so that when the button flips, the text flips and comes back to its natural form while still hovering on it?
@krisssachintha
@krisssachintha 4 жыл бұрын
Great video brad, greating from srilanka 🇱🇰
@farmanfarman209
@farmanfarman209 4 жыл бұрын
thanks its really helpful
@mokshaGyanRam
@mokshaGyanRam 5 жыл бұрын
Awesome course thanks man
@SuperVersicherungen
@SuperVersicherungen 7 жыл бұрын
Hi Brad, here did you put the PHP login App, i liked it very much
@jodyclaggett786
@jodyclaggett786 6 жыл бұрын
Dude, great videos!
@mikeychars2536
@mikeychars2536 5 жыл бұрын
Great tutorial
@bijaybudhathoki8858
@bijaybudhathoki8858 7 жыл бұрын
thanks for this wonderful crash course. Please do some video tutorials on javascript design pattern.
@JKhalaf
@JKhalaf 7 жыл бұрын
Very useful, thank you.
@ericksonmorilla1266
@ericksonmorilla1266 6 жыл бұрын
Hi Brad, Have you a tutorial how to create Responsive Navigation Bar Shrinkable like what I see on your website? Your Navbar was so cool and I like it. Thank you!
@alias7611
@alias7611 4 жыл бұрын
Can you please do a video on Angular animation? Thanks
@drivgest
@drivgest 7 жыл бұрын
thanks brad......
@rishitamukherjee4941
@rishitamukherjee4941 3 жыл бұрын
what i need to do if i want the first animation and the text animation to coexists?
@AlvinandTheBand
@AlvinandTheBand 6 жыл бұрын
Hey Brad, can you make a tutorial for making a background like instagram? It is really good and attractive. All colors keep changing from one to another.
@simpleprogrammer5834
@simpleprogrammer5834 5 жыл бұрын
Helpfull.. Thanx bro
@sirvenux
@sirvenux 3 жыл бұрын
thanks
@hirephpdevelopers3840
@hirephpdevelopers3840 7 жыл бұрын
Thanks brad for the video.
@ahmetomer1759
@ahmetomer1759 7 жыл бұрын
Very helpful video thanks a lot Brad :)
@jaganPuram
@jaganPuram 6 жыл бұрын
Good job Brad...Thanks
@hamzajaved1115
@hamzajaved1115 7 жыл бұрын
I was waiting for this tutorial for long time thank you love from pakistan
@yuenyalung7139
@yuenyalung7139 7 жыл бұрын
great tutorials !! can you teach feathers.js next? looking forward to it :) TNX!!
@myselfhere2922
@myselfhere2922 6 жыл бұрын
Thanks a lot!!! The tutorial is really helpful! :)
@shayan3725
@shayan3725 6 жыл бұрын
Hmm... even though the colour of my block changes, it doesn't move around. I don't understand what's wrong...
@arnavnegi6099
@arnavnegi6099 4 жыл бұрын
Brother your work really helps me, plzz... guide me From where can I practice much more example, Any platform ?
@ProfSeven
@ProfSeven 5 жыл бұрын
Why do you write left when it goes right?
@johabib8354
@johabib8354 4 жыл бұрын
thank you
@austinetom77
@austinetom77 4 жыл бұрын
Thank you sir
@nadavyair6350
@nadavyair6350 4 жыл бұрын
great vidoe i like it vary much.
@ahmadalmuosawey556
@ahmadalmuosawey556 5 жыл бұрын
you are wonderful amazing thanks for all keep continue
@rami1329
@rami1329 4 жыл бұрын
What is he using? Its like vs code but yellow
@skyroomgaming411
@skyroomgaming411 4 жыл бұрын
Hi thanks!
@dorsolomon7251
@dorsolomon7251 7 жыл бұрын
Hey brad I made a comment the other day about web scraping with node.js nightmare.js hope you saw the comment, I think people will like something like this. Thanx !!!
@MohamedYuss
@MohamedYuss 4 жыл бұрын
Thanks 🙏🏻
@citrapavan9247
@citrapavan9247 2 жыл бұрын
superb
@maxmaksum4673
@maxmaksum4673 3 жыл бұрын
awesome
@DjYoungize
@DjYoungize 7 жыл бұрын
what happend to the bootstrap login system ?
@MuhammadJunaidge
@MuhammadJunaidge 6 жыл бұрын
Could you tell me how much properties and values in css please tell me about all properties about css because I want to know about css completely ! I hope you will replies me as soon.
@EagleClipCh
@EagleClipCh 5 жыл бұрын
Ok so live server does not update at all is this possibly an issue with me using firefox instead of chrome
@hydricbluen8498
@hydricbluen8498 5 жыл бұрын
how would you incorporate this with a little bit a javascript. For instance {yourClassName}.classList.toggle({yourClassToToggle}); and then have it run the keyframes animation? Would you do like how i did above, or would you do it some other way?
@RandomGuy-hh4dk
@RandomGuy-hh4dk 5 жыл бұрын
your previous class may contain some style so instead of toggling the class add another document.querySelector(".classToSelect").classList.add("ClassContainingAnimation");
@hardeep8587
@hardeep8587 6 жыл бұрын
amazing....
@Heffsta02
@Heffsta02 5 жыл бұрын
what vs code snippet/extension are you using for the html autocomplete ?
@Heffsta02
@Heffsta02 5 жыл бұрын
never mind found it....for anybody who might want it. The extension is " HTML boilerplate" by Sid the Sloth.
@jordanzhen7174
@jordanzhen7174 5 жыл бұрын
I LOVE THIS VIDEO I LOVE IT I LOVE IT I LOVE IT
@mgr5550
@mgr5550 4 жыл бұрын
Is it easier to do these kind of animations in ADOBE ANIMATE ?
@alihusham1560
@alihusham1560 4 жыл бұрын
Im using react spring, but css animation look easer .. i dont understand why poeple use react spring
@nazhadlatif4765
@nazhadlatif4765 5 жыл бұрын
hi helo can you help me what is name application thnks for answer me .
@crazy_vulcan
@crazy_vulcan 7 жыл бұрын
Hey Brad, yesterday I was in the middle of working on your PHP login tutorials and when I went on KZbin this morning they were all gone. What happened.....
@Super_Cool_Guy
@Super_Cool_Guy 7 жыл бұрын
Timothy McManus yeh me too
@Microbex
@Microbex 6 жыл бұрын
yay.. we have Flash back, now with much more tedious workflow.
@denniswilson8571
@denniswilson8571 6 жыл бұрын
thanks u
@kiranhart3396
@kiranhart3396 7 жыл бұрын
Where did the login system go :(
@kirthimedia5235
@kirthimedia5235 3 жыл бұрын
.box { background: tomato; height: 200px; width: 200px; transition-duration: 1s; } .box:hover { transform: rotateZ(360deg); }
@dilciafermin7180
@dilciafermin7180 5 жыл бұрын
I always want to make a landing page for my WS, Thanks, God Bless
@diptithosar3690
@diptithosar3690 4 жыл бұрын
What is the software name
@alegend4625
@alegend4625 4 жыл бұрын
visual studio code as the editor and google chrome for the browser
@MuhammadJunaidge
@MuhammadJunaidge 6 жыл бұрын
nice video
@MylesGmail
@MylesGmail 5 жыл бұрын
Sweeeeeeet!
@insideTheDiv
@insideTheDiv 5 жыл бұрын
really !
@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; ```
@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
@tommyzDad
@tommyzDad 7 жыл бұрын
Thank you for this.
@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!
@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!
@AS-zw4lk
@AS-zw4lk 6 жыл бұрын
I learned a little something! Much appreciated. Thank you.
@gizellystefanny
@gizellystefanny 7 жыл бұрын
The best channel, Thanks!!!!
@hanzlaahabib
@hanzlaahabib 6 жыл бұрын
True
@insideTheDiv
@insideTheDiv 5 жыл бұрын
maybe true
@mobibi3996
@mobibi3996 Жыл бұрын
/* TRANSITIONAL PROPERTIES -Properties that have 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 */
@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: kzbin.info/www/bejne/jpSZeGali5dnr6c
Ractive.js Crash Course
41:57
Traversy Media
Рет қаралды 12 М.
Flexbox Crash Course 2024
46:54
Traversy Media
Рет қаралды 432 М.
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,9 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Learn CSS Animations In 20 Minutes - For Beginners
21:22
Slaying The Dragon
Рет қаралды 1 МЛН
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 172 М.
Sass Crash Course
48:05
Traversy Media
Рет қаралды 401 М.
Make Awesome SVG Animations with CSS // 7 Useful Techniques
12:20
Learn CSS Animation In 15 Minutes
15:33
Web Dev Simplified
Рет қаралды 767 М.
Award Winning Animation With Only 20 Lines Of CSS?
6:59
Hyperplexed
Рет қаралды 1,8 МЛН
Animating with CSS Transitions - A look at the transition properties
18:00
CSS Tips And Tricks I Wish I Knew Before
12:12
Lama Dev
Рет қаралды 480 М.
The Easy Way to Design Top Tier Websites
11:54
Sajid
Рет қаралды 437 М.
Front-end dev reacts to mind-blowing Codepens
21:25
Kevin Powell
Рет қаралды 2,1 МЛН
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,9 МЛН