I can’t imagine anyone explaining these concepts any better. She’s a rockstar!
@Andrey-il8rh6 жыл бұрын
Thanks a lot for a detailed explanation and for a link that explains the difference between auto-fit and auto-fill. I think the hardest part for most seasoned CSS developer is to change mindset about how things should be layed out. Part of me is screaming: That can't be that easy, there should be so trickery involved, but a second half is trying to emrace the magic. So thank you a lot for supporting my second part :)
@royandescartes Жыл бұрын
where have you been all my css life? THANK YOU!
@dr.earnest.ujaama4 жыл бұрын
Totally awesome! There are those who know and know they know, and those who don't know and know not that they don't know. Jen, you are definitely in the first category. Super awesome explanation and demonstration. Wow!
@chimadivine77153 жыл бұрын
Ever since I found out layout land, I've loved her. She demonstrates so well with her fingers and those demonstrations look exactly how they are in real life. So easy-to-understand explanations. Thank you Jenny.
@carlakroll28777 жыл бұрын
CSS grid is the bees knees! Really like the good explanation of explicit and implicit.
@arkmuntasser7 жыл бұрын
Awesome explainer! Can't wait to see what you have in store for this channel. Thank you, Jen.
@chronicv1006 жыл бұрын
This is in incredible!!!! This is leaps and bounds beyond any other CSS explanations/tutorials on youtube. Thank you.
@rednine78516 жыл бұрын
This is the best front end explanation channel I have come across...Thank you for the content!!!!
@jakubrpawlowski6 жыл бұрын
OMG NO MEDIA QUERRIES!!!! JEN YOU ARE AMAZING!!!! THANK YOU SOOOO MUUUUCHHHH!!!!
@chrispratt3047 Жыл бұрын
I've been learning web development for a few months now, specifically html and css, and my biggest problem since the beginning has been figuring out the overall layout of the page. I've watched video after video on flexbox and grid, and although they've taught me some useful things, it wasn't enough to be able to just go ahead and do it myself. Kinda like learning to drive with or without an instructor.....you're fine with the instructor, but not without. Your videos have helped me manage that drive on my own without the instructor! Excellent tutorials, very well explained. Thank you for doing these, you have restored my faith in myself! Now I'm going to make myself a cuppa and watch some more :)
@awaiszaki145 жыл бұрын
this is so much easier after she explains all the complicated CSS in a very simple way
@armanmohammadi42842 жыл бұрын
Hello, I am from Iran and I am really grateful for your great help, there are very few Persian sources in Iran and I am very excited to thank you.
@acnorrisuk7 жыл бұрын
This is such a flexible and satisfying solution for an extremely common use-case. I for one welcome our new grid overlords..
@HerrSiering6 жыл бұрын
Used this in a demo this week - it's so amazing how easy it is with CSS Grid to show a card layout for all viewports without any media query. I guess my colleagues were slightly annoyed in the end for each "CSS Grid is AWESOME!" mention :D
@CH-le2hz5 жыл бұрын
I haven't found anybody else who explains it as well as you do. Thank you, Jen!
@decaf4me26 жыл бұрын
Wow! Blown away by grid and your easy-to-understand explanations. THANK YOU!
@josejimenez75026 жыл бұрын
I love the way you convey your message. Your easy to understand and speak in a manner that makes sense i feel like your speaking directly to me great job thanks. I just subscribed to your channel
@jiehanaldicho37106 жыл бұрын
Thank you! It took a while to wrap my head around grid, and your concise explanation helps a lot.
@juanmoralesvideo5 жыл бұрын
Super clear and complete explanation! Thank you Jen. By the way, in my opinion, the very "core" grid thigs only take 4 lines in your example - so elegant!
@LukeDorny Жыл бұрын
Revisiting these excellent videos, Jen. Please update: The `auto-fit` shown at @4:21 doesn't have a comma, but it should, just like the code view @3:30 & @5:05 Thank you!
@OFWGKTAxGOBLIN6 жыл бұрын
Best channel I've seen on layouts so far
@Lucas-ve8bz2 жыл бұрын
Your teaching style is amazing! great job!!
@omerjan31186 жыл бұрын
clear voice and talking and awesome explainer ,thanks
@TheUtuber9995 жыл бұрын
Jen, thank you so much for this brief, but informative video. I'm excited to get started on a family photo album using CSS Grid!
@kyrie47286 жыл бұрын
yeah i think i fall in love with grid already. Great vids
@deepsinha60243 жыл бұрын
Just love you explain this in a simple way. Thank you for this
@HassanBraim4 жыл бұрын
Very impressive!! You make it easy the way you explain it. Thank you!
@manjoujanzen9375 Жыл бұрын
Thank you, Jen. Very good and clearly explained content.
@cindykee37195 жыл бұрын
Great explanation of Grid's flexibility using implicit layouts!
@ValLaxoxo6 жыл бұрын
Wow, great video! Awesome explaination and visualisation. I really look forward to more
@GyasiLinje3 жыл бұрын
This is incredibly helpful
@thomasgauperaa46596 жыл бұрын
You are a great teacher, thank you for posting these videos bout CSS Grid!
@LayoutLand6 жыл бұрын
Thank you for your kind words.
@jonathanstanis86277 жыл бұрын
Just used this to do CSS Grid on a page for the first time. Love it!
@rowanans6 жыл бұрын
Thank you Jen! Finally no media queries!
@LayoutLand6 жыл бұрын
We'll still use media queries, for sure. We just don't need them as much. Not for layouts like this one.
@sallaklamhayyen98766 жыл бұрын
Thanks Jen Simmons for this great Explanation , we want more Tut bout Css and Layout
@digigoliath5 жыл бұрын
Just found your channel & have subscribed. Great tutorial. Still in disbelief that it could be so easy & powerful. I am a CSS newbie who just got started.
@carstenberggreen75092 жыл бұрын
Brilliant and easy to understand. I would recommend you to keep the example code ON screen while you have your face too. It's sometimes hard to only hear your explanation if you cannot watch the code at the same time. But I am a fan now. Tons of videos to watch. Been away from Front-End development since 2014... dang.. back then I wrote my own grid systems, besides using Grid960 and I have also used bootstrapper. But .. those are dead now. That's for sure.
@cmnweb6 жыл бұрын
i'm starting to love grid..greetings from Mexico.
@indekxmobile49705 жыл бұрын
Amazing job. You've touched every piece of what matters.
@DivineZeal6 жыл бұрын
Bravo! CSS grid made simple, thank you.
@ionutmargarint72386 жыл бұрын
Amazing way of explaining. Thank you!
@smitty1753 Жыл бұрын
Awesome content. Please continue to share.
@RussellBallestrini5 жыл бұрын
I love this, thank you. I implemented this just now and it works perfect. Grid is so awesome for somebody who started HTML with table layouts.
@busyrand6 жыл бұрын
Happy to find this channel and content. It was strongly recommended. I enjoyed the explanations to various methods and clearing Floats. I stayed away from learning the details of using grid, but you explained the syntax beautifully. Subscribed...
@somrajdutta83662 жыл бұрын
Outstanding Communicator, Love you man!
@cgtechcommunity7 жыл бұрын
Great explanation. Looking forward to more videos.
@ungurunelu136 жыл бұрын
Very well presented and extremely useful. I was working out best solutions for an image gallery and this looks like a perfect foundation. Thank you!
@amijabd4 жыл бұрын
This was really good. Thank you, Jen.
@jihyunsam1436 жыл бұрын
Thank you for making my life easier!
@thaitepy79307 жыл бұрын
Thanks for this awesome video. You make it simple to remember how that special 1 line of code works :D
@jeremywagner80887 жыл бұрын
Good stuff, as always. This is really good at describing how to code common layouts in very lines of CSS.
@stratboy22 жыл бұрын
This series is great.
@pnjegosh4 жыл бұрын
Excellent explanation, good job!
@amarcanth5 жыл бұрын
That's wonderful! Thank you so much, Jen!
@stevenmuncy4916 жыл бұрын
How would you do this filling by column (not row) when n-items is unknown?
@ernestoroberts1694 жыл бұрын
Hi I'm new to front-end stuff, this is the bootstrap default behaviour too when comes to this , right?
@MarkusEicher702 жыл бұрын
Hi Jen. Many thanks for this post! I like how you explain the things. O course I have subscribed. And now up to the next video. Well done! 👍
@ChandrakantAhuja2 жыл бұрын
nicely explaination ... i was struggling from many days.
@eldyko5 жыл бұрын
Is there a way to have a minmax for your number of columns? I only want a max of 4 columns(desktop) and a min of two columns(mobile). It seems like I still need a media query to specify I only want 2 columns on mobile but 4 columns on desktop. Right now I have: grid-template-columns: repeat(4, minmax(160px, 1fr)); then I use: grid-template-columns: repeat(2, minmax(160px, 1fr)); for mobile(using media queries) but it seems odd to repeat this whole line and use a media query when I just want to change the one value(number of columns). Any help is appreciated. Thanks
@MossawirAhmed6 жыл бұрын
Thank you so much. Css grid from now.
@rosannevandeweerdt87516 жыл бұрын
This is really good!! I'm having some trouble styling my as a grid, as it also has elements with inside that are clickable and have a title appear on hover (kind of the typical portfolio look). Do you have any useful links to look at for this case?
@nikismile1236 жыл бұрын
I currently have a problem with the "grid-gap". When applied It brakes the layout even used as very small % into fr-only grid 100vh, 100vw. Could you please give me an idea why it happens? Thank you.
@smoothbeak6 жыл бұрын
Very cool Jen, had no idea about this channel, I was wondering if you'd ever be back with "The Web Ahead"!
@richardshaules39815 жыл бұрын
This is great- so simple, and very well explained. Thank you :)
@Azaditube6 жыл бұрын
Awesome. I never get any explanation about this. Thank you very much
@IanSebryk6 жыл бұрын
small tip: if you're explalning a snippet, keep a copy of it overlayed when you switch to your talking head. easier to cognitivly connect what you're saying to what we're seeing.
@AbiFranklin6 жыл бұрын
Is there a way to keep the number of columns equal across the rows? Say, if I had 4 images that fit in one row at the current screen width. When I narrowed the screen width, it throws the fourth image down into a new row. Is there a way to have 2 images to drop down instead so that it stays more balanced?
@gabrielsteiger54655 жыл бұрын
Question, what about browsers that dont support CSS grid? Going to have to write the code for them anyway, right? (I'm new to all this)
@Kuwandi6 жыл бұрын
The best **, the difference from people who just do a tut vs a reall explanation, why and how ****
@donnchadhmcginley31535 жыл бұрын
@@jkovert wow you're a fucking idiot
@damislav4 жыл бұрын
@@jkovert get help.
@jkovert4 жыл бұрын
@@damislav Jen coined the phrase "Fail Whale," her sole contribution to the field.
@codeinswahili95055 жыл бұрын
Can this be used to design a whole page layout or is it just for a picture gallery?
@Freebird11225 жыл бұрын
Awesome Jen, thank you.
@antonbrams_io6 жыл бұрын
how to handle "grid-column: span 2" if the grid is going to decide to set only one column at auto-fill? Can't find any information on web. Can i at least access the current number of columns with javascript to reduce the span?
@MaximusWilliams6 жыл бұрын
Thank you very much for sharing your knowledge and expertise 👏🏼
@timmellis50386 жыл бұрын
If there were two images both 200px in width and you open the browser to 590px, do the images stretch bigger than 200px, so they would both be 295px?
@amberweinberg62377 жыл бұрын
Go Jen!
@YoavRheims6 жыл бұрын
Question: what about high resolution screen (4K)? Just define a max-width on the to prevent unlimited columns?
@LayoutLand6 жыл бұрын
You can always put a max-width on your container to keep it from growing too wide, sure. Or think about any of the possibilities you might want to have happen, and then use other CSS - another Grid, something in Flexbox, something with widths or flow or floats, or whatever - to accomplish that affect.
@rektangul72106 жыл бұрын
I love your videos.
@haccuk6 жыл бұрын
Thank you very much for this video. Can you tell me if you can make this a clickable image to open a lightbox in modal window as I would with normal html , js and css?
@LayoutLand6 жыл бұрын
You know, I don't know. I bet it depends heavily on how the lightbox is coded. You could build a demo and see what happens. Can you get it to work? Then share it with the world. Write a blog post!
@rafi_454 жыл бұрын
Thank you for the explanation
@t_rm21192 жыл бұрын
Queen of css
@TimAldridge6 жыл бұрын
Thanks, Jen, very cool!
@donnchadhmcginley31535 жыл бұрын
Really well explained, thanks
@realmumptastic7 жыл бұрын
🔥This is awesome! Thank you Jen!
@LayoutLand7 жыл бұрын
You are welcome!
@treenopie6 жыл бұрын
When the browser decides how many items go in a row, is there a way using JavaScript to determine how many items are on each resulting row? I wish to fill the inevitable part empty row at the end.
@LayoutLand6 жыл бұрын
Well, if you plan to stretch out the content to fill up the empty space, then you might want to be using Flexbox instead of Grid. Or if you want to lazy-load more content to get an 'even number' then, yes, that would be for JS. I don't know exactly how to do it, but there should be a way. You could try, create a simple example, and write up a blog post. I bet a lot of people have such a question.
@treenopie6 жыл бұрын
Yay, I found a way: `rowlength = Math.floor(document.body.clientWidth / document.querySelectorAll('article')[1].clientWidth)`
@treenopie6 жыл бұрын
You inspired me! I posted it in Q&A format on stackoverflow: stackoverflow.com/questions/49888032/css-grid-layout-count-how-many-elements-in-dynamic-row
@superchunkylover236 жыл бұрын
Thank you Jen!
@zieteniere75004 жыл бұрын
Great teacher, thankyou
@sudhirrana32403 жыл бұрын
Top Class! Fantastic!
@aniltoronto6 жыл бұрын
I am wondering if we can create navbar using css grid. Any one out there. I have sort of did that, but as a novice in web development, I am not sure if css grid is a good way to create nav bar. Thanks
@LayoutLand6 жыл бұрын
You definitely can layout a nav bar using CSS Grid. You might want to use Flexbox, however. Nav bars are the kind of thing Flexbox was born to do. It depends, however, on the kind of end result you are looking for.
@aniltoronto6 жыл бұрын
Thank you Jen. That really helps. And, thank you for these really wonderful videos. I have learned a lot from them. Please keep them coming.
@benrigaud6 жыл бұрын
Great video, thank you!
@danielsokil95296 жыл бұрын
Looking forward to more videos.
@erickdavid42576 жыл бұрын
3:30 if even the Mozilla staff resets the box-sizing property and sets it to border-box, why isn't border-box the default for box-sizing in Firefox?
@LayoutLand6 жыл бұрын
None of the web browsers can change the box-Sizing default to border-box, because if we did, we would break millions of existing websites that have code which assumes `box-sizing:content-box;` Until a time machine is invented, we can’t change it. You have to set it on all your websites going forward, one by one. Which I recommend you do. By the way, Mozilla would never simply make a decision to do something like this in our own. No browser does anymore. Ideas like this are brought to the CSS Working Group, and all the browser makers decide as a group what to do. There’s an official decision, a resolution. And every browse maker agrees to follow that decision. That’s how we make sure all the browsers work the same. Everyone has agreed to follow CSSWG Specifications. It wasn’t always this way. In the past, browsers did just do whatever they wanted. And it was very very painful. Ask people who remember making websites for IE 4 & Netscape 4. It was horrible. Having an official standard that everyone follows makes for a much better system. So this decision is not one made by Mozilla alone. It’s a decision from the CSS Working Group.
@Dahon56 жыл бұрын
Are all the picture she's using the same size in pixels (ht and width)? Does the code automatically make each image the same size in the box? Let's say she has a 3 ht x 3 width picture and a 5 ht x 4 inch picture. Will they all fit in the same square and look the same?
@LayoutLand6 жыл бұрын
In this particular case, there would be space underneath some of the images, and the row would be the height of the tallest image in that row.
@mohamedyoussef88353 жыл бұрын
Awesome tutorials ++++++++ thank you 🙂🙂
@christopherkarpowicz11236 жыл бұрын
Gr8 explanation! Thx.
@kaifahsan84596 жыл бұрын
Really helpful
@HikikomoriDev6 жыл бұрын
So how does this work at runtime... Does the browser have some sort of engine running the logic behind the grid... seems quite abstracted. HTML doesn't do any logic, so how does this live?
@LayoutLand6 жыл бұрын
The layout is calculated by the rendering engine as it figures out how to paint the page. It's CSS that creates the layout (not HTML). And if you want to understand how CSS and the browser's process works, check this out: hacks.mozilla.org/2017/08/inside-a-super-fast-css-engine-quantum-css-aka-stylo/
@jorgemontoyab7 жыл бұрын
Amazing! Thank you very much!
@humanyoda6 жыл бұрын
Is this supported by currently used browsers well enough to justify starting using it?
@LayoutLand6 жыл бұрын
Yes. Here's a video on how to think about browsers that don't support Grid: kzbin.info/www/bejne/bZ7WdoWuqpycrMk
@digitalvenue60073 жыл бұрын
There are number of issues remain - for *_different height_* items, there are "white spaces" since rows get defined by the tallest item in the fore-row, the preceding row. Masonry.JS may still be the only option if you want to place items in a *row* that are not of same size and dont want to see ugly white spaces. This, after 3 years of this video being published.