I love the way she effectively explains things. Keep it up!
@LayoutLand6 жыл бұрын
Thank you!
@PaulSebastianM5 жыл бұрын
She reminds me of some of my most favourite teachers in school.
@zonairraja75755 жыл бұрын
@@PaulSebastianM so true
@hippiestafarii2 жыл бұрын
Here to ...Nice to learn that esay from somebody who knows :-)
@rimberse34055 жыл бұрын
She explains everything so well. First time I see a person, who explains complex things in a simple manner, wow!
@roymath6 жыл бұрын
I hadn't kept up with the changes in css land and was going crazy trying to make sense of it all. Finally - someone who can talk through the bigger picture and yet get into meaty details. thanks!
@mohdismailmohdnasir75454 жыл бұрын
She has a very pleasant voice, apart from the way she explains the methods while chipping in all the tips and tricks. Thanks, Jen! I've learned a lot from this video.
@krishnateja78305 жыл бұрын
Wow! she explained the basics of the whole thing in just 3 videos, thanks @JenSimmons.
@darentsimon3 жыл бұрын
your manner makes this subject very easy to understand and follow. Thank you
@edwassermann8368 Жыл бұрын
Can't tell you how much I love your content. I'm learning so much. Thanks very much!
@coffeeinjection25726 жыл бұрын
I have looked at so many complicated and wordy tutorials and still not completely understood how to do this and you make this stuff so easy to understand. I should have subscribed to your channel sooner. Thank you.
Jen is great all day, every day, but from 5:12 on is gold
@jeevanprakash48155 жыл бұрын
Lots of learning in single video. Hope, I would have found this channel 1 year ago. Thank you, Jen Simmons.
@NikHYTWP2 жыл бұрын
I'm really stressed right now because I'm falling behind some deadlines, a website being just a part of my university project that I need to make, and I normally suck at HTML/CSS but you're just so calming and explain everything so well in each video that it really helps calm me down, thanks for making these!
@jakubrpawlowski6 жыл бұрын
Thank you again Jen! In grid I've been nesting grids instead of flexboxes because I feel like it's so much more readable especially with the dev tools support, but now I can totally see how flexbox still has the advantage for working in older browsers so writing fallback before @support becomes trivial like in your example!
@joel99096 жыл бұрын
Jen Simmons is an Omen!!! You teach with so much ease. Thank you so much
@jy_chen6 жыл бұрын
That testing strategy is something I would never come up with. Mess things up to test if something's working. Brilliant.
@MarkusEicher702 жыл бұрын
Thank you very much for sharing this with us. That was very clear and helpful. I like the concept of using grid as wrapper for flex-box. Need to try this out. Have a good time and be well.
@keithpurtell12136 жыл бұрын
Best video CSS tutorials I have found.
@shabzkhan14704 жыл бұрын
How you deliver is interesting, thanks a ton Jen!
@Finicky96 жыл бұрын
Less media queries in the solution, the happier I am :B
@logiconabstractions65964 жыл бұрын
I have to admit, I've always been a little bit of a front-end snob and I've pushed really learning more than just the basics to build a dummy mock-up in html/css for so long. That being said, explained this way, it actually makes you want to try it. This looks like actual code to me. My vision of html/css was a huge spaghetti mess I wouldn't want to touch with a 6 foot pole. I guess things have changed! But probably too that while this vision wasn't entirely, it also wasn't a complete picture. Anyway thanks for the support on my journey to becoming a half-decent front end guy, and that much closer to a fullstack dev....
@abubakarsabir73644 жыл бұрын
Finally , I got the answer , I was looking for the past 4 5 hours searching here and there Because I wanted to place three images in vertical fashion and I ended up using float and inline-block. I'm rookie but, I guess I got the answer.
@sadaffarsa60582 жыл бұрын
Wow! She explained it very well!
@mauricioerazososa99692 жыл бұрын
Wow! thanks so much for making this video. I understood the function of these elements much better.
@Dextergec4134 жыл бұрын
This is beyond my level of knowledge but I'm starting to see how it works. Appreciate these videos, Going to sub
@nikotlichnik6 жыл бұрын
Thank you for video! Why there is smaller gap than others between first and second grid items on 3:58?
@JuanXPrats6 жыл бұрын
I was wondering the same thing when I noticed that...
@AndrewMowe6 жыл бұрын
I was wondering too. It seems to be due to the image width. When I apply max-width: 100% to the article > img things align correctly. If you add a larger explicit width to the image, it breaks even more.
@SonGoku-pc7jl2 жыл бұрын
hello, thanks for all. today not is needed the add line @suport for grid no?
@basilio1005 жыл бұрын
I didn't get why this can be done with flex. If instead of grid you use flex, last item in the second row (like on video sec 0:29) will not take all second row. try it. {display: flex; flex-wrap: wrap;}
@christianaustria7415 жыл бұрын
but i don't think flexbox has something like flex-gap property for spacing. Although, you can achieve it using "space-between" for either justify-content or align-items. I think the main reason for choosing grid over flexbox in this case is grid seems intiutive for layout placements and has native support for adding gaps.
@InterestingLakeАй бұрын
Wonderful! Thank you for the awesome help! 😀
@cazepeda4 жыл бұрын
Thank you Jen! Great demo!
@christhompson83844 жыл бұрын
Very clearly explained, thanks. Although setting max-width to 10000px is a hack. Setting it to "unset" or "initial" would have been more elegant.
@vivianeb903 жыл бұрын
Wow, you explained this so well! I am so glad I found you! New subscriber here!
@sameenrehman5021 Жыл бұрын
is there any updated version of this video?? @LayoutLand
@vague_12553 жыл бұрын
Amazing instructor and great content! Thank you!
@redwolfsoftware3630 Жыл бұрын
Out of curiousity, what does grid do differently than old school css: display:inline-block; margin: 1rem; min-width:300px? It appears to give the same result. Or does the grid layout maintain the same size of each item regardless of the inner content?
@learningtocodeafterforty Жыл бұрын
I found your CSS grid card layout so important to my learning that I would like to ask your permission to add a link on my website to the CodePen and KZbin lesson. Many thanks Dan
@LayoutLand Жыл бұрын
Oh of course! I’d love for you to link to this video.
@learningtocodeafterforty Жыл бұрын
Thanks so much. Your card layout is so awesome.
@ChayonShaah6 жыл бұрын
can i use positioning property inside of grid or flex ?
@Psyop6665 жыл бұрын
You don't need to. There are other properties available to help position elements inside the grid. And yes you can use the position property.
@danielsokil95296 жыл бұрын
Can you turn off certain features in browser to test? For example, turn off grid and or flexbox to simulate a older browser environment.
@johnmathew85434 жыл бұрын
how do i align divs in a row using flex inside a child grid box? i tried display:flex , i can change the width of the divs inside the grid box but i am not able to change the height without using pixels
@ziskador6 жыл бұрын
They way she explains things . She's so smart :3
@MaximusWilliams6 жыл бұрын
Another great video, Jen. Thank you very much :)
@matoelgud4 жыл бұрын
I have flex containers in a main grid, but i have the flex containers set to row, because I want an image, and a header with a paragraph, to be positioned next to each other - opposed to on top of each other in a column as in your example here. I then want the flex items to stack on top of each other like the way you, when the the space gets to tight. What happens then is that my picture shrinks and and my paragraph lines become really short instead of stacking ontop of each other and utlizing the width that way
@eulier16 жыл бұрын
This has been enlightening videos, the way you explain the content, and also the passion you show for every tip you give... i can only say that is love for the Design, Css, Art and everything involves in such areas you apply to your videos. Is there are a way to put multiple flexbox ovelapping?. Such like z-index but for Flexbox content?.
@anniewang993 жыл бұрын
It is amazing. I am trying to add a header and integrate it with this, and it seems a bit more complicated or do you have any suggestions? Thanks.
@ChicClique4 жыл бұрын
The big problem with this layout is the image size. I'm using image address to source the image and as expected the sizes of each image change and the card is broken due to bigger image size. How could I make the image to keep its size so that it will not break the card. I have tried by using css properties: width & height to 220px; But i'm not satisfied with the result. What do you suggest.. !
@BloodyClash5 жыл бұрын
:) indeed...you REALLY know what you are talking about. thank you
@vanvothe48173 жыл бұрын
what is editor her use?
@mikl23456 жыл бұрын
Hi Jen, do you have any suggestions on whether a navbar should be inside or outside of a main page grid? say i want something on the navbar on desktop, but on mobile to move that element somewhere else on the page, in the main grid. if i use a flex in the top row of a grid, i can't re-place only one element inside the flex as it's not an actual grid item, but a grandchild. hence, should I just duplicate that code & switch display:none on the one I don't need? An alternative seems to be to just subsume the navbar into the grid completely, which would allow complete re-placement, but, in going to an extreme like that, I have a feeling I might end up with a potentially rather fine grained grid where grid-template-areas becomes quite bulkly. perhaps an experiment would be in order. thank you for these fabulous tutorial videos - the best I've ever seen on css!
@nkisikiyumba3 жыл бұрын
You are the best!!! I understood perfectly
@Evildragonfirez6 жыл бұрын
Awesome video. When do you think we will be able to use grid without worrying about support?
@SNMSoodan5 жыл бұрын
When only one element is present the box takes 100% width which looks awkward on large screens. Is there any solution to it.
@pradeepvig98804 жыл бұрын
Are you using a mouse-pen/pen-mouse sort of?
@briandelaney63543 жыл бұрын
Brilliant again....thanks 😁
@JuanNadal5 жыл бұрын
very good examples!
@davidramirez97272 жыл бұрын
Thank you so much, i appreaciate this information
@CharlyBGood114 жыл бұрын
Thank you so much! So clear!
@ricardoe.galvez50246 жыл бұрын
great demo! thanks!
@augmentos6 жыл бұрын
Would love to see a multi-column feed style layout in an SPA because DOM doesnt style. Eg a main vertical feed and if user swipes over the are the in another vertical scroll store comprised of other li's.
@Lichkuroro6 жыл бұрын
im sorry but how does the max-width: 10000px works here...? why not the traditional way, width: 100%? i'm confused...
@LayoutLand6 жыл бұрын
I could have reset things to max-width: none; That's what I wanted, actually. To simple not have a max-width set anymore. Instead (for whatever reason that day) I used 10,000px - which basically is so giant it wouldn't do anything.
@Manas-co8wl Жыл бұрын
Thank you it was very useful
@LA-MJ6 жыл бұрын
max-width: initial?
@HansLemuet6 жыл бұрын
or max-width: none?
@facundocorradini6 жыл бұрын
That would definitely be a much better reset.
@BillyLoweBeauty4 жыл бұрын
when you say placing headlines first makes things more 'accessible' is that indicative of helping seo perhaps?
@estebanalmont37114 жыл бұрын
This is gold "when you start putting widths on flexbox you are not getting the advantages of flexbox"
@eduardoauditore54144 жыл бұрын
How's possible that in 2020 user's browsers don't support grid? What is this Latin America , Africa ??
@TBolt16 жыл бұрын
1:38 Which text editor is that? Nevermind. It’s Coda.
@LayoutLand6 жыл бұрын
Yup. I like Coda. www.panic.com/coda. I've been using it for a long time.
@DanieleManca19835 жыл бұрын
Great video Jen, I am having some issue, I am using a similar snippet of code within a work project, but the grid items do not breakdown to another row when I shrink the browser's window... Project section on: internal.showsuite.com/
@ГуляКабанова6 жыл бұрын
Great Job
@danielpan51286 жыл бұрын
This is a greate example. But I think the grid-template-columns should use auto-fill instead of auto-fit. In this case, if there are only one or two grid item, the item would not streach to fill the whole 1 fr.
@masdaug6 жыл бұрын
wow, nice.. thanks so much for sharing
@tim_arterbury6 жыл бұрын
Wow, it’s amazing how little code that takes!! 👏👏
@mohamedyoussef88353 жыл бұрын
Awesome Tutorial ++++++++++++++++ Thank you
@butterchoco45385 жыл бұрын
omg I have just found this channel... thanks youtube recommend this to me. AND Mam, I wanna ask a question... Can we animate grid actually ? for instance, grid 1 column with 100% >> become grid 2 column with 50% each ???
@LayoutLand5 жыл бұрын
You cannot animate one Grid track (row or column) into becoming two. But you can animate the size of a track. Start with two columns where one of them is zero width. Then animate it to be bigger than zero. I think that will get you what you want.
@butterchoco45385 жыл бұрын
@@LayoutLand ahh I see... thanks for replying
@sheheryarqazi1006 Жыл бұрын
thank you so much
@jamesyin69616 жыл бұрын
If my part of target browsers don't support grid. I just ignore 'grid' feature, use flex instead. I hate compatible code.
@LayoutLand6 жыл бұрын
You should watch the 7-part Resilient CSS series I made.
@viking1856 жыл бұрын
this does not work in IE, looks like you need the -ms- prefix and IE doesn't support the support media query. unless my info is out of date or someone has a work around
@LayoutLand6 жыл бұрын
I made a whole video about IE and CSS Grid, where I explain how to use Grid in IE10 & 11: kzbin.info/www/bejne/bZ7WdoWuqpycrMk
@oshumnyi6 жыл бұрын
Yeah, why not max-width: initial?
@cypryradu6 жыл бұрын
How about: @supports not (display: grid) { ... } instead of gggggrid? :)
@cypryradu6 жыл бұрын
I know "@supports not ()" is not recommended in production code, since not all browsers can read feature queries but just to test what happens when the feature is not available, should work fine.
@LayoutLand6 жыл бұрын
Yeah that should work just fine!
@ishbindra6 жыл бұрын
I am sorry for pointing out, but the volume is too low.
@joefairplay28373 жыл бұрын
GOAT!
@バニヤロサン6 жыл бұрын
@バニヤロサン6 жыл бұрын
😊sometimes💕
@quicktastic5 жыл бұрын
I do wonder why your margin is set to zero and yet there is a margin on both sides.
@weizhangJustin6 жыл бұрын
就是说啊,好多浏览器不支持grid
@stefanc40604 жыл бұрын
Macintosh 8500? Nice for making websites:-)
@arifbasri49506 жыл бұрын
Wow, gggggrid?? Haha...never thought that, thank you anyway
@MrBidalos6 жыл бұрын
Give more plz.
@im.empimp6 жыл бұрын
(A) I really love your consideration of older browsers and accessibility! (B) I was actually a bit disappointed with this video. It felt more like it should have been titled, "Using flexbox as a _fallback_ to grid in a _progressive_ design". Based on the title, I was expecting you to cover designs that actually benefit from the simultaneous use of flexbox and grid (e.g. jakearchibald.com/2014/dont-use-flexbox-for-page-layout/).
@LayoutLand6 жыл бұрын
Did you watch the video? I didn't use Flexbox as a fallback for Grid. I used Grid to do the layout of the cards themselves. And I used a simple "mobile", narrow, flow-based layout as the fallback for Grid. Then I used Flexbox to layout the content inside the cards. This _is_ a demo of a design that benefits from the simultaneous use of Flexbox and Grid. That is exactly what it is. The article Jake wrote in 2014 is completely out of date. He's comparing performance using browsers from 2014 - there've been over 20 releases each of Firefox and Chrome since then. Firefox has an entirely new CSS Parsing & Rendering engine, so any performance comparisons need to be redone using 2018 browsers. Plus, Jake is debating Flexbox vs Grid while looking into ancient syntax for Grid that was long ago replaced. It was a interesting article four years ago, but is irrelevant today. Also, his article does not cover how to use Flexbox and Grid at the same time. He's considering using Flexbox instead of Grid (which was still three years in the future when he wrote that article). I'm not sure what your point is. That I should be more like Jake?