How To Create Skeleton Loading Animation With CSS

  Рет қаралды 303,425

Web Dev Simplified

Web Dev Simplified

Күн бұрын

Пікірлер: 213
@Zeilar
@Zeilar 3 жыл бұрын
This is precisely what I needed, was just about to make some of these tomorrow lol!
@elpolodiablo5486
@elpolodiablo5486 3 жыл бұрын
Cringe
@tomcoop9750
@tomcoop9750 3 жыл бұрын
@@elpolodiablo5486 No.
@TheUtuber999
@TheUtuber999 3 жыл бұрын
Update?
@sanusihassan7125
@sanusihassan7125 3 жыл бұрын
Nyoom
@aritra3004
@aritra3004 3 жыл бұрын
me too
@solvedfyi
@solvedfyi 3 жыл бұрын
I'm just here to give props for when the topic is specific, straightforward, and not clickbait. We can't just comment on the negative
@insideTheDiv
@insideTheDiv 3 жыл бұрын
Cool
@ayushniroula1781
@ayushniroula1781 3 жыл бұрын
Exactly what I needed to know right now. Thank you you are awesome
@camc6864
@camc6864 3 жыл бұрын
Your consistent new videos are so refreshing. I knew I made the right decision subscribing mate. Thank you Kyle ❤️
@brijspy
@brijspy 3 жыл бұрын
Wow!! haven't thought it was so simple. Thanks for this Kyle :)
@jamjam3448
@jamjam3448 3 жыл бұрын
same here
@cleaningspy
@cleaningspy 3 жыл бұрын
Thanks kyle. Before I have no idea about Skeleton!
@edwardyakovich2053
@edwardyakovich2053 3 жыл бұрын
Cool tutorial, I dig it. I've been using something pretty similar for years, which has worked great. I use a "data-attibute" approach and the :empty CSS pseudo-class. So, on the parent DIV that you're loading stuff into, have a data-attr, examples such as: data-skeleton-load="full" or data-skeleton-load="table" or data-skeleton-load="card" or data-skeleton-load="form". Basically just keep the parent DIV empty until the data loads in, and while empty, the css loading animation will occur from one of your loading templates. Kinda same idea, just a little different.
@husseinkizz
@husseinkizz 3 жыл бұрын
I wanted this kind of stuff from your channel a year ago, but now I have it. I have been doing it the hard way, thanks for simplfying the web!
@krux02
@krux02 3 жыл бұрын
The most important part to get your site fast is to bundle everything in a static page. Do not send an empty page to the end user with lots of javascrit that then starts to incrementally load one element at a time with many API requests. That is how you get to 90s internet performance.
@arneg4588
@arneg4588 3 жыл бұрын
funny how this is the last thing to a big intranet dashboard page where sometimes its good to have something like a skeleton loading, perfect timing master web :D
@the_full_stack_junkie
@the_full_stack_junkie 3 жыл бұрын
You are great dud thanks!
@TheDmNtd
@TheDmNtd 3 жыл бұрын
Couldn't have come at a better time, I needed this at work! :D
@blankdeepspace1488
@blankdeepspace1488 3 жыл бұрын
Just thought about it yesterday and today it's here. Thanks Kyle 👍
@avivperets7360
@avivperets7360 8 ай бұрын
As allways you coming right on time, exactly when i wonder how to implement it well haha, Thanks again man!
@adnanahad
@adnanahad 3 жыл бұрын
Wonderful Waiting for long time for the right video....
@pauljohn3898
@pauljohn3898 3 жыл бұрын
This is absolutely great, I noticed youtube video has a loading animationa and wondered how it works and your video is recommended by KZbin. So GREAT.
@colinm3130
@colinm3130 3 жыл бұрын
After watching this video I just implemented it on an app I am working on at work. I used some very different settings, but this video inspired me to give it a whirl. Because it's an internal tool and there is a very fast load time it wasn't totally needed, but I had a fun time trying it out. Thanks for this video!
@anticsBack
@anticsBack 3 жыл бұрын
Awesome content as always, thank you Kyle!
@darkmift
@darkmift 3 жыл бұрын
Very nice and concise. Would love to see more css shorts like this.
@paulreyesdigital
@paulreyesdigital 3 жыл бұрын
I was just thinking about this one, Thank you for this ❤
@chetan3283
@chetan3283 3 жыл бұрын
Looked so simple yet so effective! Thanks for sharing this.. keep doing these things! So much to learn on every topic :)
@TecheremHizz
@TecheremHizz 3 жыл бұрын
This is what I was searching for Thankx bro❤️
@cryptogap5559
@cryptogap5559 3 жыл бұрын
Your videos are awesome! Thank you for doing these. I’ve watched so many of them.
@PythonExploratorium
@PythonExploratorium Жыл бұрын
Love your video man! From Nigeria...
@lethe_yoon
@lethe_yoon Жыл бұрын
I exactly understood your video and implemented skeleton UIs myself. Thank you
@jajcarzek
@jajcarzek 3 жыл бұрын
Thanks for idea for loading screen for my frontend!
@Skalexsong
@Skalexsong 3 жыл бұрын
Exactly what I need, very simple, understandable and so accurate. Thank you so much !
@Ayydos
@Ayydos 3 жыл бұрын
amazing, thanks!
@omrajeshkbangalore2092
@omrajeshkbangalore2092 Жыл бұрын
I've been looking for it, Thank you so much
@youcefg9760
@youcefg9760 3 жыл бұрын
Thanks a lot for this video!
@teyjingwoon
@teyjingwoon 3 жыл бұрын
Thanks the great content. I’m doing some page content loading this works better then loading bar
@questionable-cf1tt
@questionable-cf1tt 3 жыл бұрын
Another great video, thanks man!
@qwerty-wk4pz
@qwerty-wk4pz 3 жыл бұрын
Thank you
@95jugal
@95jugal 3 жыл бұрын
That was a smooth implementation.
@insideTheDiv
@insideTheDiv 3 жыл бұрын
Yep
@Jolterix20
@Jolterix20 3 жыл бұрын
Okay I'm sure you're reading my mind. First with stripe and now this. Thanks so much man!!
@vengeance9047
@vengeance9047 3 жыл бұрын
This man is 🔥🔥🔥🔥🔥🔥🔥
@bhattaraitheaxe
@bhattaraitheaxe 3 жыл бұрын
Awesome 😎 Love From Nepal 🇳🇵
@NNNedlog
@NNNedlog 3 жыл бұрын
Thanks a lot for this. I was legit thinking about learning how to implement this on my site
@xKond3i
@xKond3i 3 жыл бұрын
As always - great tutorial. 😍 Thank You so much, it might be useful in future projects.
@peter9759
@peter9759 Жыл бұрын
Easy Tutorial thanks really helped . Makes UX really better
@srinathsathyanath7435
@srinathsathyanath7435 3 жыл бұрын
Kyle is on 🔥. Awesome job bro 👍👏
@jamjam3448
@jamjam3448 3 жыл бұрын
Thanks a lot!
@recoder1111
@recoder1111 3 жыл бұрын
Isn't leaving the animation still on after the contents have loaded bad for the performance? I thought animation increases CPU usage.
@justpatrick_
@justpatrick_ 3 жыл бұрын
I agree. Css animation use a lot of cpu
@Italiafani
@Italiafani 3 жыл бұрын
@@OdyssME Emptying the grid only clears out the placeholder cards. There are no animations on the grid element itself. The skeleton text animations are not a problem, since he replaced the contents of the title and body of the card, clearing the animated placeholder divs. However, the image still has the animation going on after it's loaded. To disable this behaviour, you could do something like: const img = div.querySelector('img') img.addEventListener('load', () => { img.classList.remove('skeleton') }, { once: true })
@jamjam3448
@jamjam3448 3 жыл бұрын
@@Italiafani excellent bro!
@OdyssME
@OdyssME 3 жыл бұрын
@@Italiafani You're right, I have omitted the skeleton class left in the image.
@narudesigns
@narudesigns 3 жыл бұрын
Exactly what I was thinking. Maybe we can toggle the class the classList method in javascript before and after the actual data has been loaded like element.classList.toggle("skeleton");
@alexkail3
@alexkail3 3 жыл бұрын
Excellent video! Thanks for sharing this. Very handy. 👍🏼👍🏼
@quickwebtutorials4312
@quickwebtutorials4312 3 жыл бұрын
I didn't even know how to search this thing. Thank you Kayle.
@juststudying1019
@juststudying1019 2 жыл бұрын
It looks professional, thanks man
@lucienchu9649
@lucienchu9649 2 жыл бұрын
I was eager to know how it does previously. Then the trick part is that, you better know how many contents (cards) you gonna populate, or simply fill the view port with cards, kind of brutal. Great content !
@dheemanthm.d3836
@dheemanthm.d3836 3 жыл бұрын
Thanks for this 👍❤️
@T3hIluvatar
@T3hIluvatar 3 жыл бұрын
These videos are incredibly helpful.
@gopalloharnew5948
@gopalloharnew5948 2 жыл бұрын
Great Man
@AH-cf9cv
@AH-cf9cv 3 жыл бұрын
👍👍👍 Thank u.
@Arabian_Abomination
@Arabian_Abomination 3 жыл бұрын
Thanks again
@tabdig
@tabdig 3 жыл бұрын
Thanks mate 😄
@keremardicli4013
@keremardicli4013 3 жыл бұрын
So simple so nice. Well done
@prabhakarmishra2182
@prabhakarmishra2182 3 жыл бұрын
You explained it very well
@resolutionAgha
@resolutionAgha 3 жыл бұрын
High quality information. Thank you so much
@ayedabboushi7221
@ayedabboushi7221 3 жыл бұрын
Many Thanks, this was really helpful.
@aytacg26
@aytacg26 Жыл бұрын
Thank you very much, great explanation, I like it
@braumski2
@braumski2 Жыл бұрын
I didn't know you could throttle the speed, that is awesome
@adrienguylagrange4453
@adrienguylagrange4453 Жыл бұрын
Thank you very much my friend, this is exactly what I was looking for. Very understandable and simple. You have just gained a new subscriber
@dmytrokravtsov5745
@dmytrokravtsov5745 3 жыл бұрын
Looks great! Thank you very much.
@developersharif
@developersharif 3 жыл бұрын
*0 dislike u deserve it!* ♥♥
@insideTheDiv
@insideTheDiv 3 жыл бұрын
Yes
@prasannanaik1023
@prasannanaik1023 3 жыл бұрын
Great content 👍
@riajmazumder4434
@riajmazumder4434 3 жыл бұрын
I was thinking about how to do that from long time. Thank you 💓
@Tayyab-g9l
@Tayyab-g9l 5 ай бұрын
bro that is amazing and i realy need that
@SharkBait_ZA
@SharkBait_ZA 3 жыл бұрын
Awesome stuff, thank you Sir.
@iamreg1965
@iamreg1965 3 жыл бұрын
Neat idea but I still like a splash screen. Diff'rent strokes and all that eh? Nice work Kyle, always look forward to new content from you man.
@slowprogrammer
@slowprogrammer 3 жыл бұрын
Good one
@Dan-p7f
@Dan-p7f 3 жыл бұрын
Thank you so much! Awesome content
@7h476uy
@7h476uy 3 жыл бұрын
Async UI FTW!!!
@truongpm2144
@truongpm2144 3 жыл бұрын
Awesome, thanks you very much
@arunkumarmathivaanan5700
@arunkumarmathivaanan5700 3 жыл бұрын
Thanks for sharing.
@yusiff
@yusiff 2 жыл бұрын
Thanks Kyle. But it killed me when you typed "Lorem1" 😂😂
@Fooljuice
@Fooljuice 3 жыл бұрын
Ay thanks. Very helpful
@ТимурТокумов-и1к
@ТимурТокумов-и1к 2 жыл бұрын
Thank you!
@Dev.prashant.k
@Dev.prashant.k 2 ай бұрын
Thanks Kyle
@insideTheDiv
@insideTheDiv 3 жыл бұрын
Cool content bro ❤️❤️
@h.nazmulhassanrakib5058
@h.nazmulhassanrakib5058 3 жыл бұрын
Awesome video .. thank you kyle..
@NNNedlog
@NNNedlog 3 жыл бұрын
Thanks a lot Kyle:)
@tariqmezeik
@tariqmezeik 3 жыл бұрын
Amazing content thanks
@konstantinkirichenko9863
@konstantinkirichenko9863 3 жыл бұрын
Cool vid. Thanks bro.
@gillbates9668
@gillbates9668 2 жыл бұрын
thanks for this video
@daveglad3554
@daveglad3554 3 жыл бұрын
TOP 👌🏽...dependent dropdown in react js 🙏
@vipercode4792
@vipercode4792 Жыл бұрын
Thanks
@shaikshavalisyed2012
@shaikshavalisyed2012 3 жыл бұрын
Excellent
@Malak-z1c5p
@Malak-z1c5p Жыл бұрын
I so thank you 🙏
@powerseostrategy
@powerseostrategy 2 жыл бұрын
I like your Jackson. I have 5 of them!
@kybkap8686
@kybkap8686 2 жыл бұрын
nice its so easy to do lol. thank you also nice trick for dealing with data coming from the server by using cloneNode
@TheFirefox1948
@TheFirefox1948 3 жыл бұрын
That is very slick!
@rajeevkumar-si8gy
@rajeevkumar-si8gy 3 жыл бұрын
I love it
@jhmesseroux
@jhmesseroux 2 жыл бұрын
amazing content crack ✔✔🙌
@peterativacationonline5203
@peterativacationonline5203 3 жыл бұрын
"one of the best loading experiences a user can experience" - is a reminder of what we are really telling the user: you cannot yet interact with this site. I'm glad Kyle effectively acknowledges this upfront since I have "front end devs" who think they are adding some sort of functionality to the site by using this. Still, this is good info for when it is appropriate to use.
@StarOnCheek
@StarOnCheek 3 жыл бұрын
5:27 there is a problem, you are making the image transparent too
@preciousadeyinka2786
@preciousadeyinka2786 3 жыл бұрын
Yeah I noticed, but good thing he said in his opinion, so it's personal preference matter I guess.
@contradictio
@contradictio 3 жыл бұрын
You can add opacity property on the image
@djameleddinedeghmoum3099
@djameleddinedeghmoum3099 3 жыл бұрын
Awesome ❤️😎
@atishchandole
@atishchandole 3 жыл бұрын
You are awesome, can you make a video on Lazy Loading with image?
@AdarshSingh-qd6mq
@AdarshSingh-qd6mq 3 жыл бұрын
Eagerly waiting to see right approach about preloader / skeleton loader...
@Hafsa0526
@Hafsa0526 2 жыл бұрын
Hey Adarsh. Are you looking out for opportunities in software development currently? Did you work on projects related to React/Node?
@AdarshSingh-qd6mq
@AdarshSingh-qd6mq 2 жыл бұрын
@@Hafsa0526 Not intrested...
@GelzintVidaurre
@GelzintVidaurre 7 ай бұрын
Awesome ❤
@bosmertheincredible
@bosmertheincredible 3 жыл бұрын
Ty. Good that I subbscribed on channel a while ago =)
@nicolasrama906
@nicolasrama906 2 жыл бұрын
Excellent!
@AlexandreTriche
@AlexandreTriche 3 жыл бұрын
Material-UI v5 (to be released on September 1st) will include a skeleton component for all React Developers, with almost the same styles as Kyle's demo.
How To Load Images Like A Pro
15:48
Web Dev Simplified
Рет қаралды 392 М.
Learn CSS Animation In 15 Minutes
15:33
Web Dev Simplified
Рет қаралды 783 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
React Loading Skeleton Tutorial
10:17
Nikita Dev
Рет қаралды 78 М.
How To Create Advanced CSS Dropdown Menus
16:09
Web Dev Simplified
Рет қаралды 489 М.
Make Awesome SVG Animations with CSS // 7 Useful Techniques
12:20
Learn Intersection Observer In 15 Minutes
15:32
Web Dev Simplified
Рет қаралды 348 М.
Stop Using Pixels For Media Queries
18:48
Web Dev Simplified
Рет қаралды 34 М.
How To Handle Permissions Like A Senior Dev
36:39
Web Dev Simplified
Рет қаралды 335 М.
You are loading Images wrong! Use this instead 😍
14:41
CoderOne
Рет қаралды 222 М.
The Easy Way to Design Top Tier Websites
11:54
Sajid
Рет қаралды 675 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН