CSS Grid Responsive Image Gallery Tutorial

Поділитися
Вставка
  • Опубліковано 7 вер 2024

КОМЕНТАРІ • 136

  • @christianchase8066
    @christianchase8066 4 роки тому +15

    I appreciate how you make very little assumptions about the viewer's knowledge while going through this. Also that you explain even the little things, like shorthand for creating all those divs. You're awesome!

  • @FollowAndrew
    @FollowAndrew  4 роки тому +3

    Hi All, republished, this time without the 'demo mode' watermark!! :) (lame screen recording license issue on previous upload)
    Here's the CSS Grid Crash Course Tutorial: ua-cam.com/video/SPFDLHNm5KQ/v-deo.html

  • @UweMadej
    @UweMadej 2 роки тому

    Unfortunately I can give you only 1 thumb up. This is a high professional Tutorial and I learned a lot. I am very thankful. Uwe from Germany

  • @hasantareq9394
    @hasantareq9394 3 роки тому +1

    This grid tutorial makes me full understand about grid..
    Note: every step u should pause & try urself.. Thus gonna make it easier. 😊

  • @angladephil
    @angladephil 4 роки тому +6

    In addition, nice trick with the "w-x" and "h-x" classes !

  • @user-ez5ff2bb8o
    @user-ez5ff2bb8o 5 місяців тому

    One of the best explanation videos I have seen. Loved it and it worked perfectly, keep up the good work.

  • @alinatekumara8541
    @alinatekumara8541 2 роки тому

    i am a beginner. Very well explained. I finally understand css grid. Thank you.

  • @mariocalapine2749
    @mariocalapine2749 Рік тому

    Find this tutorial clearly explained..thanks man..!

  •  4 роки тому

    Excelent! I have suffer a lot because people publish theoretical info that doesn't always work out depending on what we really need to accomplished. You certainly explain what we face when try to do real work.
    Thank you, thank you, thank you

  • @johannesdillmann5864
    @johannesdillmann5864 Рік тому

    Hey Andrew,
    just wanted to say thanks! :) I'm an absolute html/css beginner and have watched dozens of layout videos the last few days, but you are by far the best! You explain factual and yet its easy to follow you! TheCodingTrain vibes here!!!
    Thanks and greetings from Berlin! peace

  • @techpixvo
    @techpixvo 3 роки тому

    Andrew you´re the best! Cheers from Argentina!

  • @Its_motion_media
    @Its_motion_media 2 роки тому

    Thank you! You sorta lost me when you were making the animations but I am so glad I didn't click off. Great tutorial! Keep up the awesome work!

  • @yamillayicov7256
    @yamillayicov7256 Рік тому

    "The best video about grid I've seen

  • @__jake.m
    @__jake.m 2 роки тому +1

    Thank you so much for the tutorial. You've explained this concept so well. I had a look at Google Chrome, and the grid overlays are under "layout", as well. Once again, thank you! 😊

  • @fredlaurent32
    @fredlaurent32 Рік тому

    Merci je comprend mieux css grid et je trouve cela super grâce a vous

  • @ivanastorga1641
    @ivanastorga1641 3 роки тому

    Hey Andrew, I want to give you my thanks, this tutorial makes me definetly understand grid fully.
    You won another sub! Greetings from Chile.

  • @melonrush13
    @melonrush13 4 роки тому

    This would have taken me a lot of trial and error blind CSS coding if it weren't for you. :) Thanks, much appreciated. Great video, and great explaining!

  • @gabcompaore8263
    @gabcompaore8263 2 роки тому

    I appreciated to watch and learn with this tutorial. Clean explanation and beautiful voice. Thank you teacher!

  • @photoinshot1355
    @photoinshot1355 3 роки тому

    Excellent tutorial, not only a great coder but also a great teacher. I can’t understand why the views are not much higher. Thanks a lot

  • @vaibhavgagneja822
    @vaibhavgagneja822 4 роки тому

    you are awesome man !! some people say they will not explain and they don't but you explain as well nice work keep making more videos and keep explaining : )

  • @MartinSc76
    @MartinSc76 3 роки тому +2

    Absoluteley amazing masterpiece, thank you very much fir sharing!

  • @Jan-S-Simonsen
    @Jan-S-Simonsen 2 роки тому

    All my questions answered in one tutorial. Thank you Andrew. You have a new sub Sir!

  • @oncalldev
    @oncalldev 3 роки тому

    Great tutorial. Clear and to the point on how to create a flexible image gallery using CSS Grid. As a side bonus, it shows how to methodically work through a real world project step by step. Thanks.

  • @angladephil
    @angladephil 4 роки тому +1

    Great tutorial, great teacher and ... great CSS (I can't imagine the amount of calculations and/or primitives used by the CSS core/engine !). Thank you very much from France, Andrew !

  • @salemmajed916
    @salemmajed916 8 місяців тому

    Very useful, thanks for the explanation.

  • @TheySpeakOfEster
    @TheySpeakOfEster 3 роки тому +2

    I just want to say that this tutorial is so well done. Thank you for explaining why things work the way they do. Your video is so well-paced and so thorough. It's really hard to find someone who actually teaches this well - great job and more than anything, thank you :)

  • @sashaleal1299
    @sashaleal1299 2 роки тому

    Loved your explanation, very clear and brief. Good pace. Will recommend your channel!

  • @michaelc1042
    @michaelc1042 3 роки тому

    Thank you for a very informative and easy to understand video. I appreciate you explaining the simple reason for each of the lines and how they affect the end result. Thank you again!

  • @shubhangilohitkumar5328
    @shubhangilohitkumar5328 2 роки тому

    WOahhh!!! This is perfect way to teach

  • @hiwayshoes
    @hiwayshoes 4 роки тому

    Low-def, High-def, its all good! I liked the tutorial so much the first time around, I’ll just have to watch it again, lol... thanks Andrew!

  • @amartyavishwakarma3794
    @amartyavishwakarma3794 Рік тому

    hello sir. I love this tutorial and it helped me a lot. You made it very simple and easy to understand I very appreciate it. Thanku sir. Just waana say one thing that some of the tags doesnt worked the same as it does in your program code otherwise it was an awesome video

  • @imjustfabi7545
    @imjustfabi7545 2 роки тому

    Realy well done, Great Video, thx.

  • @qizhou32
    @qizhou32 Рік тому

    Thanks for the tutorial, I use the pics to finish the design. Because I can't use the api, can't get the images from the unsplash.

  • @ashutoshdutondkar4744
    @ashutoshdutondkar4744 2 роки тому

    You have done great job! Perfect understanding video it is. Totally appreciate.

  • @Tmartinez114
    @Tmartinez114 2 роки тому

    Perfect video that helped me tremendously. I am now subscribing!

  • @bobich1244
    @bobich1244 3 роки тому

    Thanks so much, it really helped me. You take the time to explain and to show your code it's very helpful !! Nice of you. You didn't talk about order of placement of the pictures but it was already enough to help me.

  • @niceman5890
    @niceman5890 Рік тому +1

    Thank you very much!

  • @saudwang9891
    @saudwang9891 4 роки тому

    thank you so much you help me all for learning how to work with a grid layout

  • @pejuangrasarindu
    @pejuangrasarindu Рік тому

    thanks, your tutorial is very easy, i have 1 question, when i use w-2 and h-2 ? i don't understand it

  • @Passkin
    @Passkin 2 роки тому +1

    This is by far the best gallery tutorial! Do you know how to make the text size responsive to the screen as well? The text size seems to stay at 25px no matter the screen size. Thanks!

  • @user-ox7pk1nb8c
    @user-ox7pk1nb8c Рік тому

    Great tutorial, thanks!

  • @Valentina-kr2gp
    @Valentina-kr2gp 4 роки тому +2

    thank you for this king

  • @MarcCardwell
    @MarcCardwell 4 роки тому

    nice, nice! i'm starting to get it now and understand the code (i could not _write_ it, mind you). the only thing i didn't like was the blur extended outside the image area a bit.another YT-er highlighted grid / flex grid don't solve all design problems. honestly, that was what i was looking for, like " just work and understand grid, and you can design anything", but that's not right.

  • @nondemutale
    @nondemutale 2 роки тому

    Grid-template-columns:repeat(6, 1fr) experiencing an expected RBRACE at line 105, col 35

  • @drhastings
    @drhastings 4 роки тому

    Thank you for the tutorial Sir...One of the best Lectures on UA-cam.👌

  • @Zarovsky007
    @Zarovsky007 2 роки тому

    Thank you for the tutorial.

  • @IamPetrus
    @IamPetrus 3 роки тому +1

    Hey Andrew.
    Im implementing this layout of yours with a full enlargement of each item on hover/click. Im getting rid of animations although Im refreshing my practice on them. You are saving me tons of hours. Wheres your patreon? Thank you thank you thank you. You are star!!

  • @patrickflanagan5415
    @patrickflanagan5415 Рік тому

    Hey bro! I love this tutorial and learned a lot from it. I was wondering if you would consider making a separate video explaining how to use your own images from your computer into Vscode? I'm struggling with this for some reason

  • @patriayvida4209
    @patriayvida4209 2 роки тому

    AWESOME JOB!!! YOU'RE A MASTER!!!

  • @GerritforBazeja
    @GerritforBazeja 4 роки тому

    nice to be flexible with CSS! love it!

  • @DennisRLing
    @DennisRLing 25 днів тому

    This was what i was looking for. However, the text code did not work nor did the transitions etc. Not that is a deal breaker, I was just wondering why? I used it all in several browsers, Chrome, edge, FFox.

  • @NooMJeSWanG
    @NooMJeSWanG 4 роки тому

    Thank you so much for your time, Excellent video Bro (From Thailand :))

  • @mattgallant6910
    @mattgallant6910 2 роки тому

    Man you explain things amazing! thank you !

  • @96Salima
    @96Salima 3 роки тому

    Wow Thank you so much for such an interesting tutorial!🙏🏻😍

  • @whateveritwasitis
    @whateveritwasitis 5 місяців тому

    the blur and fade out behind the text...how do I change it to just fit the text and exceed the borders of the container/img? its a cool idea but this way it looks like a code error, not a fan; I want it to just cover the background of the text and then feather the edges of it. Ai told me i need to add another div after the text div to create another layer, but this is upper level stuff.

  • @cooolaros
    @cooolaros 3 роки тому

    Well done!

  • @saurav3d249
    @saurav3d249 4 роки тому

    you are a great teacher..thankyou very much..it helped a lot

  • @isoldpower
    @isoldpower 2 роки тому

    A bit outdated but talking about backdrop-filter you can just replace it with adding filter: blur(5px) on .gallery-item:hover .image .img

  • @jpacs3738
    @jpacs3738 4 роки тому

    Thank you so much! Your creation is awesome! :)

  • @BL4CKHAWK8
    @BL4CKHAWK8 4 роки тому

    Excellent video, thank you for your time

  • @digigoliath
    @digigoliath 3 роки тому

    Awesome!!! TQVM!!

  • @theman7050
    @theman7050 3 роки тому

    Love this!

  • @GiuseppeTresTRIK
    @GiuseppeTresTRIK Рік тому

    🤩Grazie

  • @harshshrivastava5981
    @harshshrivastava5981 4 роки тому

    its really awesome..well done sir

  • @yourfriend8838
    @yourfriend8838 4 роки тому

    Hello i really like the tutorial and your style of teaching. You should consider syncing your videos on LBRY (other platform than youtube) im sure they would love to have you.

  • @lotus1219
    @lotus1219 2 роки тому

    how do i pull local images without having to list them one by one?

  • @adisakjantrasopark7672
    @adisakjantrasopark7672 2 роки тому

    Thank you so much

  • @elmira5244
    @elmira5244 4 роки тому +1

    whats the difference between grid-auto-rows and grid-template-row?

    • @FollowAndrew
      @FollowAndrew  4 роки тому +3

      Auto rows property are part of the “implicit” grid, that is created based on any arbitrary amount of grid items. Template rows are part of the “explicit” grid for a defined set of rows

  • @purplefan204
    @purplefan204 3 роки тому

    Awesome Stuff! Simply Love this! Makes CSS-Grid look like a piece of cake!! One question though - would it be possible to set the classes like w-3, h-2 etc based on the image dimensions?

  • @EyeIn_The_Sky
    @EyeIn_The_Sky 3 роки тому

    can you show us how you can move an image from a grid row to a grid column when the viewport is decreased from PC screen size to smartphone size (Does it have to be done by media query?)

  • @MrUsamamubeen1
    @MrUsamamubeen1 2 роки тому

    Thank You

  • @yarko7619
    @yarko7619 2 роки тому

    Thanks!

  • @wendydherin1669
    @wendydherin1669 4 роки тому

    This is all kinds of awesome. Thanks!

  • @GnarlyEmoji
    @GnarlyEmoji 2 роки тому

    is there a way to make this work with videos and images?

  • @AlexiLaihoFan
    @AlexiLaihoFan 4 роки тому

    This is awesome! I'm currently trying to learn to create a grid that displays like this with automation. In React, I'm sending an API Request and using .map() to render the response items, so I can't give each item its own unique style. It's discouraging haha

    • @isoldpower
      @isoldpower 2 роки тому

      you can create JS script to give additional classes depending on width devided by height proportion

  • @NorlynCodes
    @NorlynCodes 4 роки тому

    Thank you. This is so good!

  • @endlesslearning26
    @endlesslearning26 3 роки тому +1

    Just a small talk dude:-
    Why did u stopped making videos,your tutorials are quite awesome,
    I know it can be daunting to making doZens of videos but still get really less view,but ya your content is great

    • @FollowAndrew
      @FollowAndrew  3 роки тому +2

      More to come!

    • @endlesslearning26
      @endlesslearning26 3 роки тому

      @@FollowAndrew brother can u please make a video about how to make a mobile first website
      my design looks good on desktop but Quite bad on mobile
      Pleaseeee help 🙂

  • @nilavabepari3061
    @nilavabepari3061 3 роки тому

    i dont know why but my grids are not working !!! please can someone help

  • @peterkabiru5144
    @peterkabiru5144 3 роки тому

    thanks

  • @sys434
    @sys434 10 днів тому

    code from the github repo does not work..

  • @yhyclfyhy8583
    @yhyclfyhy8583 2 роки тому

    ths bro,good job.

  • @davidgilart
    @davidgilart 4 роки тому

    Hello Andrew. Great tutorial. however even if I follow step by step dreamwaver 20.2 what I see in my screen is not at all close to what you show in your screens. grid-template-colums: repeat(6,1fr) is red tagged by css dreamweaver. and the whole process does not work at all. is there a way around this?

  • @baliyachtservices7505
    @baliyachtservices7505 3 роки тому

    So good, thank you

  • @haccuk
    @haccuk 4 роки тому

    Really excellent tutorial thank you very much. Can I ask could I add light box effect to the images?

    • @FollowAndrew
      @FollowAndrew  4 роки тому +1

      Most light boxes are done with Javascript (although pure css boxes do exist), so it's a bit outside the scope of this tutorial

    • @haccuk
      @haccuk 4 роки тому

      @@FollowAndrew Thanks for your reply. I have got it working with JS. I'm only trying to learn something and keeping brain active in lockdown. I'm 79 so no wish to take it a lot farther!

  • @cybersamurai99
    @cybersamurai99 Рік тому

    awesome

  • @ezequielconsorti7542
    @ezequielconsorti7542 4 роки тому

    Amazing work! really awesome, just one question... is there a way to set the imgs to be opened in full view when clicked?
    thanks for the great work!

  • @ExpertGamingOnline
    @ExpertGamingOnline 3 роки тому

    This is amazing

  • @khachikgrigoryan1105
    @khachikgrigoryan1105 3 роки тому

    Thank you bro)))) its Nice

  • @adamgray4866
    @adamgray4866 4 роки тому

    I am still fairly new to learning css grids and have watched you'r previous video explaining how grids work and feel i have a good amount of understanding of it. But i am trying to create an image gallery as you have here and i am following along with your tutorial but i am not getting the same results, my images are still very large and using the object-fit: cover appears to not be doing anything. Any advice on what i may be doing wrong? Great videos by the way you have a great way of explaining things and making them easy to understand.

    • @FollowAndrew
      @FollowAndrew  4 роки тому +1

      Could be the web browser, as object-fit is relatively new. Try a different browser to test maybe?

  • @vasylsukovych8910
    @vasylsukovych8910 4 роки тому

    Hi, great tutorial. But I would like to know what plugin do you use to preview the page in Visual Code ??? Thanks

    • @ExpertGamingOnline
      @ExpertGamingOnline 3 роки тому

      Its probably Live Server. The page automatically refreshes when you save the HTML/CSS file in vscode.

  • @gamerl4g111
    @gamerl4g111 3 роки тому +1

    Can i use this API from unsplash.com, or im gonna have copyright issues?

    • @FollowAndrew
      @FollowAndrew  3 роки тому +1

      All Unsplash images are fully copyright free!

  • @paininktattoo
    @paininktattoo 4 роки тому

    Awesome!!!! thanks

  • @parthanas3537
    @parthanas3537 2 роки тому

    kudos

  • @thatcc
    @thatcc 4 роки тому

    Is there any way I can do this with updated fb posts? (for a blog)

  • @Alaefarran321
    @Alaefarran321 4 роки тому

    when typing the attributes to request random images from unplash, it return nothing!! can you help please?

    • @Taufiq714
      @Taufiq714 3 роки тому

      it is "unsplash" :)

    • @Taufiq714
      @Taufiq714 3 роки тому

      it is "unsplash" :)

  • @jjglaser
    @jjglaser Рік тому

    if only the images could autofit into the columns with their original dimensions...

  • @suyhuynh7716
    @suyhuynh7716 2 роки тому

    1000 photos will generate 1000 classes

  • @Dexter101x
    @Dexter101x 3 роки тому

    Apparently, Code doesn't accept *grid-gap* anymore

  • @Kunalalal
    @Kunalalal 2 роки тому

    he sounds and looks like steve jobs

  • @koumouts
    @koumouts 4 роки тому

    really well done. BUT.. the audio: room hummmmmmmm

    • @FollowAndrew
      @FollowAndrew  4 роки тому +2

      Yeah, better mic noise suppression these days

    • @koumouts
      @koumouts 3 роки тому

      @@FollowAndrew I think it really gives longevity to the work when the audio is attractive, crisp, quiet no room noise... sorry my inner audio engineer pokes it head often. But really, I have been enlightened by your vids. Thanks