This! This guy deserves a medal! I literally have a template now, where I can apply all my other learning and it all make sense! Absolutely amazing that this is free and in a little over 10 minutes you've blown my mind! Thank you so much! :)
@Skyflairl2p2 жыл бұрын
Im a student of front end development and have been banging my head over something i knew was simple, yet couldn't wrap my head around for about two weeks straight now. All the other tutorials ive seen have just been comparing the two, when using them together makes just far.. FAR more sense. You've just saved me a headache and a half, I was able to sort out my design properly now. Thank you!
@astrodiansАй бұрын
i like it when they explain it with a common usecase in the real projects. It's easier to see what's the usage of something really is with little to no misunderstanding.
@easazade5 жыл бұрын
every time i watch your comparison videos, i think . wow no one else could put it like that. keep up the great work
@academind5 жыл бұрын
Happy to read that Alireza, thanks a lot!
@jcribbs58192 жыл бұрын
This is the best explanation of grid and flex that I have found omg.. Like the dude said below it's a template. my mind is blown too. I had never even heard of grid-area. wow.. Thank you so much. You'll be seeing me in your CSS class. I went through this really slow and made my own html and css file for future reference. This really is a game changer. I was so confused until I saw this video.
@wildelyssa4 жыл бұрын
I'm just learning both and wondering what the difference was between them, this is a great explanation. Thanks!
@ijustdey4 жыл бұрын
I’m about to start learning, which is better?
@monair32634 жыл бұрын
@@ijustdey U should learn both
@XlON___3 жыл бұрын
Were you able to learn anything after one year?
@lysaunku-jones85873 жыл бұрын
Definitely learn both. They are both useful for different things, and different types of layouts. Learning how to use them together will open up a lot of possibilities. Hope your learning is going well!
@lysaunku-jones85873 жыл бұрын
At the time, I mainly was getting confused choosing the best one for different situations. The video made that very clear for me. I find css tricks cheat sheets a useful link. I still check them now and again as a refresher. css-tricks.com/snippets/css/a-guide-to-flexbox/ css-tricks.com/snippets/css/complete-guide-grid/
@sm8104034 жыл бұрын
thank you! I will use Grid for general layout and flexbox for detail, then.
@abbyck5 жыл бұрын
Max! After all these years, I still couldn't find some other person other than you, who can explain things like this.
@academind5 жыл бұрын
Wow that is so great to read Abhinav, thank you very much for your support!
@Andrey-il8rh6 жыл бұрын
Sometimes I think you are reading my mind! A question bumps in my head and in 30 minutes I receive a video answer from Max, this is fantastic! :)
@academind6 жыл бұрын
Haha, that's so cool to read, always happy to create videos which make you guys happy :)
@ruppelllost75464 жыл бұрын
Your explanation was just perfect, I was so confused as to what CSS grid and CSS flexbox were before. Thanks a lot!!
@prakashupadhyay95294 жыл бұрын
It was your video on ReactJS back in 2018..that I picked-up front-end (reactjs) and now it's all I do as a Full-Stack dev.. you're incredible at engaging the students. Thanks a lot for everything you share! :)
@蝦子-n6u5 жыл бұрын
Didn't expect that an English video can make me understand well like this :)
@kavithakesavan89383 жыл бұрын
The moment I see the video from "Academind ", I knew this is where my search ends . Max a great instructor online . Short and Clarity Content delivery .Thank You Max :)
@pedroelton70404 жыл бұрын
The very best tutorial I’ve seen so far. Finally I understood it perfectly! Tks!!!
@mariom41732 жыл бұрын
This video was very helpful. It helped me to understand better the use of Grid/Flexbox. I'm sure I'll be watching it again and again when needed.
@BlueyMcPhluey5 жыл бұрын
I like how the worked example showed the strengths of both very clearly and succinctly
@saeedjalali73392 жыл бұрын
i mean whenever i wanna learn something new in front-end i just add Academind at the end of the subject in search box and boom ! 20 minutes later it's done.
@Pareshbpatel3 жыл бұрын
Very useful and clear tutorial on CSS-Grid and Flexbox usage. Thank you. {2022-01-03}
@RajPhotoEditingMuchMore3 жыл бұрын
Thanks a lot sir 🙂🙏🙏
@cyonii86834 жыл бұрын
For the first time after so many attempts, I have finally got it. You're always the man, thank you.
@kallege012 жыл бұрын
thanx bro i took this up on myself and i'm going crazy... but this makes me get a little better understanding of why things are always all over the place on my webpages...
@deepdive13384 жыл бұрын
Other useful properties with flex, position-items(set it to center for vertical and horizontal centering, and justify-wrap:wrap which will add some foundational responsiveness like wrapping to next line when run out of space
@TropicalTaquito6 жыл бұрын
Taking your CSS course on udemy and I’m on the CSS grid section and I enjoy it a lot more than flex box. I find it straight forward, especially with the grid-template-areas property.
@academind6 жыл бұрын
Great to have you on board of the course, thank you for your support! I also like the Grid a lot, but I think that knowing both Flexbox and Grid can be quite helpful, especially in situations where we combine both :)
@Toulkun6 жыл бұрын
Tropical Taquito Exactly, the more i use css grid more i love it. But i use flex for inner elements sometimes.
@reristavi6 жыл бұрын
I was actually working on it last 2 days now. Yeah combining them together makes so much more sense. In fact I have to admit that building my own CSS styles makes my life so much easier then Bootstrap and other frameworks. Thanks for a nice Video.
@academind6 жыл бұрын
Thanks for the nice feedback, I'm glad you liked it!
@123kingvlad5 жыл бұрын
is it okay for a beginner to learn both at the same time? I now know the box model and have watched already the CSS flex box from Academind here in YT but I still need to practice it more
@azrailnone4 жыл бұрын
I have created a footer and inside there I have a div class with 2 divs ( icons with my icons 4 of them in total and a div class=copy with a copyright in it ) I added a dsiplay:flex to my div container which includes the above two divs but I cannot seem to get how to position my icons in the middle and my copyright at the end of my footer.
@thewu324 жыл бұрын
Waow!!! That's the best tutorial I ever seen about the famous Grid vs Flex topic!!! Very well explained! Thx a lot.
@AliBaba-hn8tv4 жыл бұрын
I love your take on this subject, you solved my problem and saved me time. Thank you.
@tonymora85864 жыл бұрын
Great video I hope someone can answer this question, how could I put the footer at the bottom of the page?
@krnkoravi4 жыл бұрын
Grid template area is most magical thing I have seen in CSS
@deepthis49564 жыл бұрын
Thank you! I really needed this video to decrypt the grid layout.
@PrecizionHunting5 жыл бұрын
Nice explanation! Helped a lot and actually answered questions I had that I did not think would be answered in this video. Keep it up!
@academind5 жыл бұрын
Happy to read that, thank you!
@sauliustb4 жыл бұрын
thank you sooo much. I was thinking on how to achieve my layout, and had it almost completely done in flexbox. Then I changed something and my headers didn't align anymore. Now I'm going to see if I can do the main layout in grid first, and some finetuning with flexbox. should save me a whole lot on actual CSS code to go through.
@cswalker214 жыл бұрын
Wow. I'm really glad I watched this video. I had this idea in my mind you pick one or the other. It makes sense to use each one for things it is good at. Thanks!
@pratikswvk4 жыл бұрын
Awesome Max, you are the best teacher in the whole world😊 Hope you and your family is safe😊
@nehoha3 жыл бұрын
This is an awesome simple explanation of how it works! Thanks, man!
@marcosandoval72605 жыл бұрын
Wow. Excellent video as always. Easy to understand the core ideas and fully practical. Thanks Max.
@academind5 жыл бұрын
Thank you Marco :)
@daguttt3 жыл бұрын
The video i was looking for. Perfect! Nice explanation. Thank you so much!
@justdoodleit3113 жыл бұрын
wow!! short and crisp to the point thanks a lot
@gkathmandu4 жыл бұрын
this is one of v important advance css practical lesson. Be careful on is part('grid-area:main;') as its not mentioned in video, there is not quotation marks for 'main' which we are used to. Im saying becoz , ive spend 2hrs in this thinking what got wrong.
@samir105yt5 жыл бұрын
The best simple explanation!
@liamik99865 жыл бұрын
agree! super explanation
@randychoc75 жыл бұрын
First video of the list... and perfect 👨🏻💻👍🏻
@yldrmhakansavc89712 жыл бұрын
That was a very good way to teach that! Simple but full of information!
@KuldeepKumar-qc6fz3 жыл бұрын
We no need to use margin with flex and grid because there is a way to make spacing using column-gap: 1em; and same for the row spacing column-row: 1rem;
@itsm3dud394 жыл бұрын
Im going to learn grid and flexbox and this is a warm up video for me. Nice
@jkli144 жыл бұрын
how do I get the footer to go at the bottom of the page ?
@pranit_7D4 жыл бұрын
I love the video. Made it seem so much simpler. Keep up the good work.
@michelbilliau37603 жыл бұрын
I'm very new to this but this is a great video ! It explains the difference very well ! Well done !
@axelblaze33615 жыл бұрын
I always confuse in flexbox and grids but after watching your video all my doubts are clear.
@converter5 жыл бұрын
I was like .. what's "jabber"??? oh, "each other!"
@BenHayat4 жыл бұрын
He DID say jabber several times... :-)
@stolensentience4 жыл бұрын
I’m glad you noticed each jabber
@sougataghar11795 жыл бұрын
i learned grid 1st , thank you so much . I will now use both from now on.
@azrailnone4 жыл бұрын
How can I apply different positioning at more than 1 element inside a grid area with flex display on it, for example I have a footer and inside I want my icons be in the midldle but my copyright be at then far right??
@xstanley9994 жыл бұрын
can pure css 3 replace other library such as bootstrap only for grid layouts ? although I think I will still use Bootstrap Components such as Button or alert to combine it
@Ben-ui5sc6 жыл бұрын
wow, that was the perfect explanation to the googled question of grid or flexbox -- combination it is, cool! thanks, subbed.
@academind6 жыл бұрын
Thank YOU so much Ben - welcome on board of the channel :)
@WateryIce543216 жыл бұрын
What's something Flexbox can do that Grid (reasonably) can't? There's also power in having a few well-defined tools.
@romualdomariano14573 жыл бұрын
Yep. This is not recommended. I really search for this. Nice video. Intuitive 💯
@DUANEYAISER6 жыл бұрын
I was in the middle of watching your other Flexbox/Grid videos when this popped up. Stop producing for a week or two, I CAN'T KEEP UP! :-)
@academind6 жыл бұрын
Sorry Duane, there are just so many interesting topics to cover :D
@maskman48216 жыл бұрын
This is a fantastic intro course on css grid and flexbox!!!
@academind6 жыл бұрын
Thank you so much!
@TenshiProductionz4 жыл бұрын
What if i just nest another grid into a grid to achieve the result of a flexbox by just changing the default grid flow. That eliminates the reason to use flex. Is that considered a good practice ?
@asefhosseini30073 жыл бұрын
why don't you use `gap` property for adding space between items?
@omikaayush4 жыл бұрын
U r really awesome ..... its going so smooth that I did not hv to make much effort to understand:)
@academind4 жыл бұрын
Thanks a lot 😊
@madarafayssal4 жыл бұрын
hello sir thanks for you cours and languge it's help me to understand what is grid and how it's work
@bryannchude45594 жыл бұрын
Thanks man. Your explanation has been really helpful.
@zakaria18594 жыл бұрын
This video was really helpful for me, thank you, now i understand.
@liewweijun67284 жыл бұрын
Why should we used flex box instead of using float property?
@sarthaksj19994 жыл бұрын
Absolutely phenomenal video. Great Work Buddy....
@haroldmcbroom78073 жыл бұрын
What program are you using in this video to write your code?
@digigoliath5 жыл бұрын
Great stuff & very well explained even for a newbie. Totally enjoyed the video. Thank you very much!!
@academind5 жыл бұрын
Thank YOU for your awesome feedback!
@yitzchalfari24266 жыл бұрын
Do div wrappers mess things up? For some reason the align-items:center; is not working I had to manually set a margin-top but its just not right.
@peviz30033 жыл бұрын
what if: use flexbox as a rows and each item of that flexbox to be another flexbox for columns?
Thanks Very well explained the difference Max. Please keep posting such informative contents.
@academind5 жыл бұрын
Happy to read that you like it Alok, I'll do my best to keep it going :)
@JohnMervinancheta4 жыл бұрын
If I use display:inline it is just ok?
@jakemurdock53762 жыл бұрын
Loved this! This really helped me! Thank you :D
@jaleele71685 жыл бұрын
so for general layout use grid and for specific changes uses flexbox on the elements in the grid ?
@samuelsantana21093 жыл бұрын
Great explanation i perfectly understood it. Thanks u so much
@steffen_storck6 жыл бұрын
a big point is, that internet explorer does not support css grid. and many big companies still use it as default browsers (yes, the number is declining. but still...), so by using grid, the hompeage might look like crap in many many many browsers :-)
@academind6 жыл бұрын
That is absolutely true, browser support is something you have to check when using the Grid.
@turkey80422 жыл бұрын
Great explanation! Thanks for the vid!
@barklegneeshetu80484 жыл бұрын
This is what I needed, thanks Max
@tebogoikaneng7273 жыл бұрын
much appreciated... I've been looking for this knowledge....
@FirebrandVOCALS4 жыл бұрын
Do these replace HTML tables?
@luismunoz91264 жыл бұрын
this is the best tutorial ever.... simple and powerfull
@ramiechaarani69472 жыл бұрын
This video is amazingly helpful
@vaibhavm19866 жыл бұрын
Always fun and simple explanation, so easy to quickly understand, thanks a lot Only obstacle at the moment with grid is IE :( wish IE should not exist anymore
@academind6 жыл бұрын
Thank you very much for your comment Vaibhav. Yes, browser compatibility with the IE is not perfect yet, let's see if it gets better in the future.
@SlowparSheena6 жыл бұрын
Wow. So you just broke that down in this short video more plainly than another training course that I paid for...LOL!!!
@academind6 жыл бұрын
Happy to read that the video was that helpful for you, thanks a lot :)
@jozefrzadkosz59454 жыл бұрын
Flex-direction: row is set by default ;)
@wojciechjarosz4204 жыл бұрын
Amazing job guys!!!
@mushfikf.rahman97003 жыл бұрын
Really helpful for beginners like me
@amburt7x4 жыл бұрын
Thank you, this is helpful
@nikkotolentino5534 жыл бұрын
This enlightens me. Thanks for this wonderful video :)
@mansaha92885 жыл бұрын
I wish you could show the example of “overkill” you mentioned about using grid in one-dimentional situation where flexbox is more appropriate.
@Alt-wx6ry4 жыл бұрын
Nice explained, thanks for the video :)
@juanluistorres15594 жыл бұрын
Is it a case when u have to use both, css grid and flexbox? Or can u do that? Sorry, I'm learning web development haha
@AliBaba-hn8tv4 жыл бұрын
Yes, it makes life easy to use both flexbox and css-grid plus the outcome is always perfect for both you and your client.
@eswar92554 жыл бұрын
you got a new subscriber. Congrats that's me ✨🎉🎇🎇🎆
@DaggieBlanqx4 жыл бұрын
Wow! great explanation .
@LethalDamageGaming5 жыл бұрын
amazing, you helped me understand a few things. Also, no one in this world say "each other" like you do =)
@academind5 жыл бұрын
That's just great to read, thanks a lot for your comment!
@Andrey-il8rh6 жыл бұрын
grid-area syntax feels very odd to me, is there any alternative to avoid it?
@academind6 жыл бұрын
Yes, there is - you can assign elements to cells which you define via starting and ending lines (for rows and columns). But I personally like the grid-area syntax a lot. Being able to name things makes the code way easier to understand in my opinion.
@sureshmakwana87093 жыл бұрын
Wow so useful 💯💯💯💯💯 thankyou!
@africainwolf73424 жыл бұрын
This was so helpful, Thanks
@zlatkozeco79514 жыл бұрын
Thanks, this was very helpful
@JoaoFerreirajf2 жыл бұрын
Great video, really really helpfull. Thank you so much
@adityanambiar60566 жыл бұрын
Sir, towards the end of the video, we could use the justify-content property value "space-between" or "space-around" instead of using the margin property as you showed, right? Only difference would be that those items will be spaced out even more than just 10px as you used for the margin property if I can guess correctly.
@JoEx2k116 жыл бұрын
A few months late, and I suppose you already know the answer but for anyone else: yes, exactly like you say.