To understand modern CSS layouts, you need to know CSS Grid. It is very useful and can be combined with other layout methods like flexbox when creating a page design. In this tutorial, you will learn many of the grid properties that you will frequently use. That said, there are so many properties available that you should follow this tutorial with a deeper dive into MDN or at least a visit to CSSGridGarden.com to practice your CSS grid skills. If you're just getting started with CSS, I recommend going to the start of this CSS for Beginners playlist: ru-vid.com/group/PL0Zuz27SZ-6Mx9fd9elt80G1bPcySmWit
thank you a ton! Finally, this is the only lecture from you (my pivotal teacher) that I could not comprehend. It's highly complicated!!! I tried many times but it didn't work out! Anyway thank youuuuuuu!! You've been very helpful for me and my friends too.
I'm really enjoying the "Microsoft Edge Tools for VS Code" extension. You're going to get a similar split-screen as Dave has. It takes a little getting used to - you're going to be typing in the dev tools directly instead of the CSS file to take maximum advantage but then you can see what all the options do immediately as you scroll through the list of options without even saving. Your choices will be saved in the CSS if you agree. Using that with this tutorial has been pretty amazing. Using the "Live Server" extension will, imo, still be the best option for testing responsive sites since you'll have the option to drag the sides of the screen to your preferred sizes and instantaneously see how your site changes versus having to type in the viewport sizes in the Edge extension where it becomes a lot less organic / pretty.
I just discovered your videos and wow, I'm glad I did!! The way you explain everything makes the content much easier to understand than f.x. reading an article. Thanks so much, this is really appreciated!
thanks to dave for more enlightenment i'd read pdf but most times it's kinda look weird and hard . but whenever i switch to your tutorial it's always interesting
Hi Dave This video was great, the way you explained everything made it very easy to understand and follow. Thanks for the hard work you put into these vids for your subs 🤙🤙🤙
I saw your HTML & CSS tutorials. They were amazing! Also, played the grid garden and flexbox froggy games. (so funny and useful) What do you recommend to do to practice these two languages and before moving on to JS? Thanks Dave!
Using template area is my favorite way to plan the main layout of the page (if required) where it's very simple to manipulate to respond to different screen sizes and orientations, I think the vertical scrollbar was activated because of the container min value specified in grid-auto-rows: minmax(150px, auto), using auto can fix it to some extent, or, maybe we can set the body height to 100vh, then add overflow: scroll to the main, it's ugly and unusual I know but possible, BTW, in the video description there is a semi-colon in the time of chapter "Experimenting with layout properties", Thanks Dave, that was a great video as usual,
Unironically got stuck for an hour on the grid-auto-rows setting because I putcommas between the values. Anyone learning a programming language in tandem with CSS will probably run into this sooner or later. Markup language (*ML) doesn't use commas like that... So far, grid feels harder than flex so I'll be playing in the garden for a while ;)
Thanks for another amazing tutorial Dave! 15:00 - I tried to use display:flex; for child-element (instead of display:grid;) and applied "place-content: center;" but for some reason it only considered in one direction (i.e., horizontal as justify-content) and ignores vertical center-alignment.. Probably there are some details that I missed.
Hi Dave, I was just wondering that maybe at the end of tutorials like this, we get some sort of "active" usage on an actual webpage/website of the property in question, just to "visualize?" the property we're learning in what it could be used to create. I don't know, something around those lines...
Thanks for the suggestion, and I've been trying to do that when possible. For example, the navbar at the end of the list-style-types lesson or lesson 9 is a mini-project that brings together everything from the previous 8. At the end of this grid tutorial, I thought pulling together a layout with a header, main with nested grid, aside, and footer was a quick example of what was possible, too. Thanks again for the feedback!
Thank you for another great video. I hope that it is ok that I ask questions when they arise(?).. (..And If so..) 14:00 - Why doesn't the grid implicit calculate boxes 3 and 4 at those positions even before box 2's declaration of - " grid-row: 3 / 4 " ? (...while it already seems "implicitly legit" once box 2's decleres of - " grid-column: 1 / 5 ")
It will implicitly fit any grid item in the first available space that is not explicitly needed for a specifically defined grid item. I think the "even before" part of your question indicates it is calculating the space for boxes 3 and 4 first. It is not. It reads the classes (definitions) from the stylesheet first - the first and second boxes - and then implicitly places anything that is not defined.
(* Although I didn't want to bother you with another massage by responding: "Thank you", I wasn't completly sure if simply "liking" (thumb up) your massage will reflect my appreciation..) Thank you.
Height specifies the height of an element (developer.mozilla.org/en-US/docs/Web/CSS/height) and min-height specifies the minimum height of an element (developer.mozilla.org/en-US/docs/Web/CSS/min-height) which will allow it to grow with the content you put inside the element. Using min-height insures your content will not outgrow the height of your element.
Thank you, Sayan! 🙏 I'm just following the content and trying to touch on all of the essential topics... of which there are many. I do not know exactly, but I am guessing there could still be 10 more lessons / modules before I complete this CSS for Beginners series. 🚀
This is NOT a beginner's tutorial. Put yourself in the shoes of someone who knows nothing about this topic. You jumped into new selectors then barely explained them. Next....