CSS Animation Optimization and Performance 101

  Рет қаралды 38,862

DesignCourse

DesignCourse

Күн бұрын

Пікірлер: 58
@DesignCourse
@DesignCourse 5 жыл бұрын
Get the jank outta here and subscribe already!
@juliocodes
@juliocodes 5 жыл бұрын
Sometimes people tend to forget how important animation optimization is, me included. I can't tell you how many times I've been on sites that use a lot of animations and the experience is just painful.
@juliocodes
@juliocodes 5 жыл бұрын
@Mastery Of Craft That's true. Also how they try to animate as many elements as they possibly can. I've made that mistake tons of times in the past just because I thought it looked 'cool'.
@cirusMEDIA
@cirusMEDIA 3 жыл бұрын
O...M...G... i just applied the 'will-change' property to some elements in a LARGE cross-platform app I've been working on and BOOM. It's as smooth as native! Thanks a lot for this video!
@EfeKurnaz
@EfeKurnaz 5 жыл бұрын
This is gold, most valuable content I've seen on YT for Frontend devs. Thank you Sir Gary Simon.
@JlarMM
@JlarMM 5 жыл бұрын
Please more about smooth web animations, 60fps, hero animations etc thanks
@FullStackMaster
@FullStackMaster 5 жыл бұрын
Thanks Design course for this nice CSS lesson and extra tips!
@nathaaaaaa
@nathaaaaaa 5 жыл бұрын
Your channel is pretty near to perfection, pls don't stop
@CristianAlexandruRadu
@CristianAlexandruRadu 5 жыл бұрын
I'm building a social network. The animations are painful. Sometimes, I get lags. I'll update the project with what you just learned me. Great tutorials. Very well explained. Please Keep Up!!!
@krychanpro
@krychanpro 5 жыл бұрын
One of the best episode, want more about performance in frontend!
@CosminCP
@CosminCP 5 жыл бұрын
I love how this video's thumbnail matches the previous video's one
@chhavimanichoubey9437
@chhavimanichoubey9437 Ай бұрын
excellent video to save in study playlist
@patrickjosephaugustinahoic9544
@patrickjosephaugustinahoic9544 5 жыл бұрын
Watching this from cote d'ivoire...thank you so much !
@abhishek_k7
@abhishek_k7 5 жыл бұрын
Just what I wanted and exactly when I wanted it. Thank you!
@kokoshko1985
@kokoshko1985 4 жыл бұрын
Thank you a lot!!! I didn't even think of it this way
@LeFede
@LeFede Жыл бұрын
so if you have an absolute positioned element, it is safe to asume that it wont trigger a layout recalculate after changing its content or its width ?
@ck0024
@ck0024 5 жыл бұрын
*The more I learn, the more I realize how illiterate I am.* _Great work, man._ 👍
@wesleyfeller2114
@wesleyfeller2114 5 жыл бұрын
Liking the new backdrop!!
@macke8939
@macke8939 5 жыл бұрын
Perfect timing mate!
@swoorp
@swoorp 3 жыл бұрын
Very-very helpful. Thanks ❤
@matiaswebdevwebdev800
@matiaswebdevwebdev800 5 жыл бұрын
Thanks Gary I am learning a lot from your work.
@whiztown3557
@whiztown3557 5 жыл бұрын
I always love your videos. Keep it up 👍
@jacquesduplessis6175
@jacquesduplessis6175 5 жыл бұрын
Janky is my new favourite word. :D Great video.
@sjn_
@sjn_ 5 жыл бұрын
I read the transform property can be used to create almost any types of animations but I find it pretty difficult to create certain animations. The Android's reveal animation starting with a circle for instance, just like the one on your tutorial using clip-path. Perhaps, you could make some videos on creating unique and creative animations using the properties that trigger composite only? Would be a lot helpful for a guy like me who already know this thing about cheaply animatable properties but struggle to create the desired animations.
@syamss3507
@syamss3507 4 жыл бұрын
2020 and still waiting for will-change property video
@uncheat
@uncheat 5 жыл бұрын
But what about transfrom: translate without animation? In some conditions chrome will render it blurry, right?
@AtamMardes
@AtamMardes 5 жыл бұрын
Hi, one unrelated question: Which one of these ( Spotfire, QlikSense or Tableau ) is more popular and pays the most? Which one do you recommend I should learn?
@Jay-eg7yt
@Jay-eg7yt 4 жыл бұрын
Is the transition property considered an animation? I know it can be used for animation effects such as making a div grow, but I don't see it as a trigger on csstriggers.com. Is transition taxing?
@anoopvasudevan
@anoopvasudevan 3 жыл бұрын
Super useful 👍
@sarahbrown1230
@sarahbrown1230 4 жыл бұрын
You said you were going to link in comments a custom willchange video but did not
@desmondsparrow3490
@desmondsparrow3490 Жыл бұрын
please where is the css you used
@arthurshaidullin7981
@arthurshaidullin7981 5 жыл бұрын
cool staff, can you explain 'transform3d' too?
@razenkellesly20
@razenkellesly20 5 жыл бұрын
Super nice, Thanks.
@nandhikaprayoga6510
@nandhikaprayoga6510 5 жыл бұрын
Hey nice video as always, I want to know, is it good do animation on canvas rather than in HTML element?
@DlSPLACER
@DlSPLACER 5 жыл бұрын
Great stuff! Thx so much
@dipsikhadutta6412
@dipsikhadutta6412 5 жыл бұрын
Thanks it helps a lot, can you make a video on how to create images more responsive and image optimization for web. Thank you.
@ProsenjeetPaulProsenjeetPaul
@ProsenjeetPaulProsenjeetPaul 5 жыл бұрын
Use tinypng.com for all kind of images compression. Its the best optimization option so far.
@chefbennyj
@chefbennyj 5 жыл бұрын
Did you ever make a 'will-change' video?
@mikizuk83
@mikizuk83 4 жыл бұрын
Yeah, I was wondering too... I've checked today, it's still not made!
@ProsenjeetPaulProsenjeetPaul
@ProsenjeetPaulProsenjeetPaul 5 жыл бұрын
So let me add 2 major points to your topic for all the web dev out there. 1. Avoid box shadow mossst important. 2. Avoid Css3 animation instead of that use normal css with position absolute You wont exp this in web but you will exp the lag in mobile. Having an exp of around 9+ years now and this really decrease the hampering job.
@surc_
@surc_ 5 жыл бұрын
What did you mean by using absolute positioning for animation?
@ProsenjeetPaulProsenjeetPaul
@ProsenjeetPaulProsenjeetPaul 5 жыл бұрын
@@surc_ i mean to say avoid transform:translate(x,y) instead of that use with absolute positioning to animate your element e.g top:x,right:y
@AFTstorm
@AFTstorm 5 жыл бұрын
Prosenjeet Paul it really depends. A lot of modern phones have pretty good gpus these days so using transform would greatly benefit it. I think you as a developer need to know your audience first and build your site for that audience. Knowing your audience will let you build the right site with the right tools
@ProsenjeetPaulProsenjeetPaul
@ProsenjeetPaulProsenjeetPaul 5 жыл бұрын
@@AFTstorm well i agree with you partially because on an average audience like me who got an average phone which is not capable of janky/heavy animations . I have tested this on multiple devices and it really depends upon the user phone capabilities. An oneplus one or an i phone has the ability to run this animation smoothly but a phone like Redmi note 3-4 it drops FPS heavily. And i have completely tested it so i came to conclusion that for alteast now we should avoid box shadows and transform.
@brampeirsful
@brampeirsful 5 жыл бұрын
Epic!
@sachinprabhuk6241
@sachinprabhuk6241 5 жыл бұрын
nice video..thank you
@unboxingexperience
@unboxingexperience 5 жыл бұрын
Good work
@CreepToeJoe
@CreepToeJoe 5 жыл бұрын
Just visit the channel page in KZbin and look at the last two videos! Notice anything?
@MuhammadAdnan-gx6rd
@MuhammadAdnan-gx6rd 5 жыл бұрын
Vue.js animation ?
@antonchinaev3495
@antonchinaev3495 5 жыл бұрын
When the banks stop using IE11 by 2025 I will be thrilled to do actual animations.
@redsevenbox
@redsevenbox 5 жыл бұрын
Another one
@inbiggaaa
@inbiggaaa 4 жыл бұрын
please add subtitles
@bonleofen
@bonleofen 5 жыл бұрын
Hey, I have this request if you could create a tutorial about animation that happens on wheel events. Something like species in pieces website. I have made this request before as well. In case, you're seeing this, please make something like that. Thanks. You're awesome
@ProsenjeetPaulProsenjeetPaul
@ProsenjeetPaulProsenjeetPaul 5 жыл бұрын
I want to understand your question. I am assuming you are talking about infinite css anination or some kind of rotation using css.
@bonleofen
@bonleofen 5 жыл бұрын
@@ProsenjeetPaulProsenjeetPaul check this website www.species-in-pieces.com/
@bonleofen
@bonleofen 5 жыл бұрын
Second viewer
@AsithChamidu
@AsithChamidu 5 жыл бұрын
First.. yo😋
Complex CSS Backgrounds with a Single Property!? #repeatinggradients
20:37
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 43 МЛН
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 137 МЛН
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 23 МЛН
I Will Never Write CSS Animations Again Without Using This Tool
12:28
Web Dev Simplified
Рет қаралды 149 М.
Surprising differences in Selector Performance
16:57
Kevin Powell
Рет қаралды 42 М.
Will Boyd - Silky Smooth Animation with CSS
33:39
BocoupLLC
Рет қаралды 5 М.
UnCSS your CSS!  Removing Unused CSS with PostCSS & Parcel
13:08
DesignCourse
Рет қаралды 60 М.
STOP The CSS Grid Confusion - 2 Ways to GRID!
26:09
DesignCourse
Рет қаралды 178 М.
Lazy Loading Images with Bounds.js - Less than 1KB!
20:52
DesignCourse
Рет қаралды 24 М.
#FutureCSS - The AMAZING Prefers-Color-Scheme - Native Dark Mode
14:39
Web Performance Mini Series: Animations
23:02
Paul Lewis
Рет қаралды 8 М.
Creating JavaScript Animations with Scene.js (GSAP Alternative)
43:55
Stop animating box-shadows the wrong way!
14:38
Kevin Powell
Рет қаралды 33 М.