Bootstrap 5 Crash Course Tutorial #7 - Grid Layout (part 1)

Поделиться
HTML-код
  • Опубликовано: 7 окт 2024
  • Learn how to use the grid system in Bootstrap 5 - using containers, rows, columns and responsive classes too.
    🐱‍👤 View this course in full now - without ads - on Net Ninja Pro:
    netninja.dev/p...
    🐱‍💻 Access the course files on GitHub:
    github.com/iam...
    🐱‍💻 HTML & CSS Crash Course:
    • HTML & CSS Crash Cours...
    🐱‍💻 Node.js Crash Course:
    • Node JS Tutorial for B...
    🐱‍💻 SASS Crash Course:
    • SASS Tutorial #1 - Wha...
    🐱‍💻 VS Code - code.visualstu...
    🐱‍💻 Bootstrap 5 Docs - getbootstrap.c...
    🐱‍💻 Social Links:
    Facebook - / thenetninjauk
    Twitter - / thenetninjauk
    Instagram - / thenetninja

Комментарии • 78

  • @nkpvg6805
    @nkpvg6805 3 года назад +33

    Whoaaaaaa You are just the best coding teacher and you put so much effort into teaching us and that to for free!!!!
    I love you and your teaching!!

  • @saqibhz07
    @saqibhz07 3 года назад +16

    Another excellent series. Thumbs up!
    A series combining bootstrap 5 with react would be nice addition to your great channel.

  • @LubieArbuzy
    @LubieArbuzy 3 года назад +15

    Finally rocking my new badge 😎
    Thank you for maintaining good and well explained content for so much time ♥️

    • @NetNinja
      @NetNinja  3 года назад +3

      Ah that's awesome, thank you so much for the support! :)

    • @michal2135
      @michal2135 3 года назад +1

      he likes watermelons !

    • @LubieArbuzy
      @LubieArbuzy 3 года назад +1

      @@michal2135 ;)

  • @salvatoreceravolo1414
    @salvatoreceravolo1414 2 месяца назад

    Great class. I really appreciated the short and direct videos. Easy to follow and gets right to the point.

  • @mostinho7
    @mostinho7 Год назад +2

    Done thanks
    Have to wrap component in container and then in row class divs to make use of grid
    You specify how many columns each item can take out of 12. If assigned 6 columns then will take up half. You can tell each component to take up different column widths depending on the screen size. So you can assign a component both col 6 and col 12 md classes so that when the screen size goes to medium the component takes the entire width. Remember bootstrap breakpoints go from smallest to largest.

  • @TheSabKuchh
    @TheSabKuchh 3 года назад +3

    Thank you Shaun for your efforts. I've become a fan of your ways of teaching...

  • @chaderenyore1748
    @chaderenyore1748 3 года назад +3

    Thank you so much, Shaun, I really appreciated this video, all your tutorials I've been watching are very helpful but this one hits more cause it's when I really needed it, I've been working with this bootstrap 5 and its utility classes, but I never really understood its grid system responsiveness, and this video made everything clear, Thanks so much.

  • @mooseaf3515
    @mooseaf3515 Год назад

    I think the grid just clicked. Well find out when I dive into the project tomorrow. Thank you for sharing your knowledge.

  • @cotneit
    @cotneit 3 года назад +3

    Omg I just realized that yesterday I centered columns by specifying offset on the first column instead of justify-content on a row. Gonna go fix it now before someone notices 😂

  • @IlieAlexandruFlorea
    @IlieAlexandruFlorea 7 месяцев назад

    Thank you so much . i ve just started learning front-end and you ve helped me more than my trainer. You are awesome. Thx for sharing with us thi

  • @atirah14
    @atirah14 3 года назад

    Thank you so much. I tried reading the documentation but couldn’t understand. This really helps. Thanks again.

  • @khaledkara8774
    @khaledkara8774 10 месяцев назад

    Sie sind 'tot' hervorragend 🎉..
    Vielen Dank ❤

  • @i_am_a_boy5655
    @i_am_a_boy5655 2 года назад

    BRO YOU ARE THE BESTTT CODING TEACHER OUT THERE, LIKE THE WAY YOU TEACH AMAZING, I HAVE TO CREATE A WEBSITE AND I REALLY NEEDED BOOTSTRAP TO MAKE LOOK GOOD. MATE YOU EARNED A NEW SUBSCRIBER. FR YOU ARE THE BEST CODING TEACHER OUT THERE!!!!!!!!!!

  • @johnedreicarinal8579
    @johnedreicarinal8579 6 месяцев назад

    thank you so much for the wonderful tutorial, now i can start my project with ease :))

    • @NetNinja
      @NetNinja  6 месяцев назад

      You are welcome 😊 have fun!

  • @ernestogarcia5762
    @ernestogarcia5762 Год назад +1

    Well explain and clear thank you so much 🙏🏼💪🏼

    • @NetNinja
      @NetNinja  Год назад +1

      Glad it was helpful Ernesto! :)

  • @HackerBoy-hm2sr
    @HackerBoy-hm2sr 2 года назад

    really looks good grid system responsive.

  • @nabilhabib4279
    @nabilhabib4279 Год назад +1

    you are better than my teachers at university :)

  • @MrKRABBB
    @MrKRABBB Год назад

    thank you so much ! I don't think you can explain it any better!

  • @sonicjetson6253
    @sonicjetson6253 2 года назад

    Two words - life saver 👌

  • @jacopozecchi
    @jacopozecchi Год назад

    Marvelous explanation, thank you.

    • @NetNinja
      @NetNinja  Год назад

      You're very welcome! thanks for watching :)

  • @rasheds_miya
    @rasheds_miya 6 месяцев назад

    Thank you bro for explaining very well

  • @beginner_bro
    @beginner_bro Месяц назад

    best explanation

  • @marwan.v1511
    @marwan.v1511 Год назад +1

    that was absolutely awesome, thanks.

  • @hadihaqi
    @hadihaqi Год назад

    You are perfect bro . Thanks for this beautiful course😍

    • @NetNinja
      @NetNinja  Год назад

      Thanks Hadi, hope it was helpful!

  • @leonmarienga3293
    @leonmarienga3293 25 дней назад

    Thank you

  • @JASIRBOSS
    @JASIRBOSS 3 года назад +1

    thanks for your efforts it is really appreciated👍

  • @ptys.
    @ptys. 2 года назад

    Lifesaver, thank you.

  • @user-mf9il2ft6b
    @user-mf9il2ft6b Год назад

    thank you very much, very clean expains !

  • @ilya_123__
    @ilya_123__ 7 месяцев назад

    thank you!

    • @NetNinja
      @NetNinja  7 месяцев назад

      You're welcome!

  • @KRAMDROIDTECH
    @KRAMDROIDTECH 3 года назад

    Saved to my library ❗

  • @jamespotter4666
    @jamespotter4666 2 года назад

    thank you man you are a great teacher :3 love ya

    • @NetNinja
      @NetNinja  2 года назад +1

      Thanks for watching James :)

  • @IndritVaka
    @IndritVaka 2 года назад

    Thanks! That required container at grid took me hours, and I couldn't find why is that weird behavior

  • @MissMBMB
    @MissMBMB Год назад

    Thank you so much 😊

    • @NetNinja
      @NetNinja  Год назад

      You're welcome Brandy 😊

  • @itchitrigger8185
    @itchitrigger8185 2 года назад

    Thank you very much for this great tutorial

  • @juanandrew1356
    @juanandrew1356 2 года назад

    great explanation. thanks

  • @taposhsorkar1613
    @taposhsorkar1613 Год назад

    wow great tutorial

  • @novanoskillz4151
    @novanoskillz4151 2 года назад

    amazing tut.. thanks bro

  • @Anteater23
    @Anteater23 5 месяцев назад

    Helpful

  • @briandacallos4234
    @briandacallos4234 3 года назад

    Too much knowledge here

  • @yevgeniykononovich9869
    @yevgeniykononovich9869 2 года назад +4

    Hi--great content--thanks! Question: at 4:12 you mention that default behaviour is for column elements to occupy same amount of space in a row by dividing the 12 available columns equally, but then at 7:36, you seem to state that when no column specification is provided for a given screen size, the default behavior is for a column element to take up all 12 columns. Does this default behavior change from 'equal columns per element' to '12-columns per element' when you add responsive classes to the class definition? I didn't find reference to this in Bootstrap documentation.

  • @ridl27
    @ridl27 3 года назад

    ty

  • @techie_teko8923
    @techie_teko8923 8 месяцев назад

    you the best

  • @riskitall7421
    @riskitall7421 2 года назад +2

    The problem is when we put a tag or something inside of column, align-items-center doesn't work, why?

    • @lunnux.
      @lunnux. 2 года назад

      You may be looking for this class:
      d-flex justify-content-center (align horizontally)
      d-flex align-content-center (align vertically)

  • @reynhardprivate397
    @reynhardprivate397 3 года назад

    The grid system on its own is already a win for me writing the CSS for grids and flexbox is a pain :-)

  • @muhammadmehdi1304
    @muhammadmehdi1304 3 года назад

    U should goo for big React-native advance tutorials with all it's APIs

  • @briannguyen5057
    @briannguyen5057 2 года назад

    amazing

  • @alexshepel9387
    @alexshepel9387 2 года назад

    nice!

  • @hamzehqatash6256
    @hamzehqatash6256 2 года назад

    Thank you very much ^_^

  • @KRAMDROIDTECH
    @KRAMDROIDTECH 3 года назад

    Welcome back ninjas

  • @ahmedr.
    @ahmedr. 2 года назад

    the original css grid is much better and straight without the hassle of adding these classes.

  • @ravireddy7894
    @ravireddy7894 3 года назад

    please do on java.

  • @smartTechn0l0gy
    @smartTechn0l0gy 3 года назад

    how did you manage to write (class= "col") to all div at the same time? I like that shortcut :)

  • @asp2867
    @asp2867 3 года назад +1

    do you put all lessons of this course on youtube?

  • @BrainRotFun
    @BrainRotFun 3 года назад

    what if i use col-md-6 for the first 2 divs and then col-md-12 for the third div and i want the third div to be positioned in the center not in the left

  • @mostafahegazy7289
    @mostafahegazy7289 2 года назад

    Thank you, but i have a question, how did u write class="col" to all div at the same time ?

    • @joshpotter177
      @joshpotter177 2 года назад

      Alt+click. You can watch it and see at @3:30

  • @MaxMayer1
    @MaxMayer1 3 года назад

    Здравствуйте мои дорогие. Мне предлагают курс junior Python developer за 90 тысяч рублей. Обещают сделать из меня пайтон джун разработчиком за 420 часов учёбы и практики(всё вместе). Это реально? Или очередной лохотрон???

    • @codewithfarhad8594
      @codewithfarhad8594 3 года назад

      if you want people here to help you then you should probably write your question in English

    • @MaxMayer1
      @MaxMayer1 3 года назад +1

      @@codewithfarhad8594 I have a paid course that promises to make me a junior Python developer in 420 hours of learning (theory + practice). This is real or is it a scam???

  • @alwan4940
    @alwan4940 3 года назад

    First

  • @TheBull06
    @TheBull06 Год назад

    are we really expected to remember all this?

    • @kiyu3229
      @kiyu3229 Год назад

      That's why the documentation exist

  • @gddeufedhfezr1224
    @gddeufedhfezr1224 3 года назад +1

    You don't need to write div.xyz you can just write .xyz 👍