Bootstrap 5 Grid System Tutorial

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • Bootstrap grid is a powerful system for building mobile-first layouts. It's a very extensive tool with a great number of options.
    Follow me for more: / dawidadach
    Learn more about the newest Bootstrap 5 grid system in our tutorial: mdbootstrap.com/docs/standard...
    Download Bootstrap:
    mdbootstrap.com/docs/standard...
    ===============================
    🎁 Join our mailing list & receive exclusive resources for developers
    mdbootstrap.com/newsletter/
    ⭐ Support the creation of open-source packages with a STAR on GitHub
    github.com/mdbootstrap/mdb-ui...
    👨‍👩‍👧‍👦 If you have any questions - don't hesitate to ask on our Facebook group:
    / 682245759188413
    🎓 Learn responsive web design with the latest Bootstrap 5
    • Bootstrap 5 tutorial -...
    📥 Download Material Design for Bootstrap - FREE open-source UI KIT
    mdbootstrap.com/docs/standard/
    #bootstrap5#tutorial#grid#programming
    0:00 Intro
    0:48 Installation
    4:08 Bootstrap Grid Explained
    5:40 Breakpoints
    6:30 Bootstrap grid examples
    10:10 Changes in Bootstrap 5
    10:30 Tutorial
    10:55 Containers
    13:49 Columns
    14:14 Gutters

КОМЕНТАРІ • 138

  • @Mdbootstrap
    @Mdbootstrap  2 роки тому +7

    I hope you liked the video. If you are already here in the comment section, I invite you to let me know what other videos would you like to see in the future. Also, share any other feedback that you have on this video!
    I don't run ads on tutorials - the only value I get is your engagement in the MDB community.
    So if you would like to show your support:
    - Encourage more people to Keep Coding ---> Send this video to one person
    - Stay tuned for new content ---> Subscribe & ring the bell
    In the description, you will find links to some useful, free resources:
    📥 Download Material Design for Bootstrap - FREE open-source UI KIT
    🎓 Learn responsive web design with the latest Bootstrap 5 (full 1.5H course)
    🎁 Join our mailing list & receive exclusive perks (free stuff that is normally behind a paywall)
    ⭐Support the creation of open-source packages with a STAR on GitHub
    👪 If you have any questions - don't hesitate to ask on our Facebook group
    Thank you for your support!

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

      How we can increase or decrease height of row or column ?
      Is that any class available for that ?

  • @DawidAdach
    @DawidAdach 4 роки тому +55

    0:48 Installation
    4:08 Bootstrap Grid Explained
    5:40 Breakpoints
    6:30 Bootstrap grid examples
    10:10 Changes in Bootstrap 5
    10:30 Tutorial
    10:55 Containers
    13:49 Columns
    14:14 Gutters

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

      @Deshawn Salvador yeah it totally worked, FBI is outside my apartment now

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

      Are you the guy of that channel?
      If yes, thank you for so generous sharing... 👍

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

      @@berjaoui92 yes I am, appreciate :) Thank you

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

      salamat sa imong gihimo nga bedyo sege pa himo kapa ng mga bedyo

  • @AlejandroMuro0tto
    @AlejandroMuro0tto 3 роки тому +6

    This is one of the key functions of bootstrap and its very well explained

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

    Those shortcuts were life changing. Love your content!

  • @annecapongcol3759
    @annecapongcol3759 2 роки тому +5

    Thank you for this. I’m a new coder and still learning Bootstrap. Your visual demonstration is easy to understand. This is what I am looking for.

  • @jamesfrick4585
    @jamesfrick4585 3 роки тому +10

    Great video and lesson. It does not start with the details of Bootstrap as does many videos. Instead, David's video shows the effects of using Bootstrap on layouts. The orientation of the video is on the overall page and how Bootstrap controls page layout, especially for responsive design. This is a great way to teach Bootstrap. I have been struggling organizing my pages, and started looking at several other Bootstrap videos. These were not motivating as they did not tell me how to put together HTML code for a responsive design. David at MDB shows an example of how to build a Bootstrap page for responsiveness, and his video is very motivating to continue to earn Bootstrap.

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

      Thank you James, I really appreciate that, I am glad that you enjoyed it. :)

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

    Thank you! This is an enlightenment for a beginner just like me.

  • @luqmansecond6375
    @luqmansecond6375 2 роки тому +5

    Great video! I have been having troubling understand the grid system but it's all cleared up now. Thank you!

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

    Thanks for quick introduction

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

    Great and short tutorial, thanks!

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

    i really love how you keep your tutorial simple..

  • @like.a.cactus
    @like.a.cactus 3 роки тому +1

    You are very clear. Very good tutorial. Thanks.

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

    Saved my life, thanks!

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

    Hi,
    Thanks for the clear explaination of using bootstrap 5 and the gutter part

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

    Very good explanation in a practical way guy. Keep adding more videos like this. I'm very interested.🖤🖤🖤

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

    Your website is amazing I used everyday

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

    Best explanation so far

  • @parhamd7333
    @parhamd7333 3 роки тому +3

    ty perfect toturial i love it 😘👏😘

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

    Awesome tutorial,thank you!

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

    really Useful

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

    Thanks for the video.

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

    amazing explanation in simple words. thank you sir !

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

    Nicely explained. Thank you.

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

    Amazing video, Thank you so much and keep it up

  • @AxxionMarketPlace-iu6ri
    @AxxionMarketPlace-iu6ri 9 місяців тому +1

    Thank you

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

    Thanks Dawud

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

    Awesome!!! and Thanks thanks thanks

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

    Thanks bro! you helped me!

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

    useful :* thanks

  • @jeevam7110
    @jeevam7110 4 місяці тому +1

    Big thanks brother, I learned it at very ease!

    • @Mdbootstrap
      @Mdbootstrap  4 місяці тому

      That's great to hear! Keep Coding :)

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

    Thank you! Great content and diction to explain, i've learned a lot! Greetings from Brazil! Have a great week

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

    yes, you are hero. continue same style: from scratch step by step ;-)

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

    thanks!!

  • @regarto739
    @regarto739 6 місяців тому +1

    thank you, sir. You are life saver.

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

    thank you for vedio.

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

    Thanks you.. I am learning bootstrap so it's great help to me

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

    Hello David,
    Great video.
    Have a suggestion for your next video, a bootstrap grid with; Title 1 with 4 box for images, title 2 with 3 box, title 3 with 2 box, title 4 with 1 box( each one displayed in vertical) and in small devices it displays in vertical beggining with Title 1.

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

    really thank you brother..

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

    So if some of those columns had a img or text would it over lap the container that has the background blue or will it stay inside that same container?????

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

    Nice

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

    what extensions do you use, seems really functional

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

    i used col-md for a webpage and did css on a 1920*1080 monitor but things get broken when screen size is less 1200px... is that normal? shouldn't it stay same in 768-1200px?

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

    thanks!

  • @amberfatima9704
    @amberfatima9704 3 роки тому +3

    how do you have gaps/spacing in between the columns??
    please tell me. Which bootstrap class is used to apply such spacing in between the columns

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

      Please post question on our facebook group : facebook.com/groups/682245759188413

  • @ahmedel-hindawi9226
    @ahmedel-hindawi9226 3 роки тому +1

    is it a full tutorial on grid systems
    or it's just a beginning
    like, Is there is a more advanced video on grid systems?

  • @oguzturkyilmaz543
    @oguzturkyilmaz543 5 місяців тому +1

    Thanks

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

      Happy to help.
      Keep Coding :)

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

    thank you sir very much for the video

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

    super good

  • @amberfatima9704
    @amberfatima9704 3 роки тому +3

    how do you have gaps/spacing in between the columns??

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

      Please post question on our facebook group : facebook.com/groups/682245759188413

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

    Helpful

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

    someone has a tutorial how to make something like example 2? To make one big item that overlaps the other rows?

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

    what is that popper link?

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

    Have you made the second tutorial you mentioned?

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

      Yup, just check our channels videos : ua-cam.com/users/mdbootstrap

  • @vishvark244
    @vishvark244 18 днів тому

    can you tutorial the desktop layout in this video please

  • @dinukachamod9038
    @dinukachamod9038 3 місяці тому

    best ❤

    • @Mdbootstrap
      @Mdbootstrap  3 місяці тому

      Happy to hear that! Thank You!
      Keep Coding :)

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

    God bless you

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

    12 unit means 12 fractions or 12fr as in css3

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

    what font (font size) and theme is used in vs code?

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

      Check this out: ua-cam.com/video/fh97jo6Xur8/v-deo.html&ab_channel=MDB-justcodeit

  • @ahmedel-hindawi9226
    @ahmedel-hindawi9226 3 роки тому

    in 13:50 you mentioned another tutorial
    Is it out yet? :(
    you really saved my life, thanks

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

      Yup ua-cam.com/video/KVyEH1pIZkA/v-deo.html

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

      Sorry but I have the same question. Your link goes to a git tutorial. Did you upload the wrong link?

  • @alirezar7920
    @alirezar7920 Місяць тому

    1)which grid system is better and easier bootstrap or css:grid? 2) can we use bootstrap only for the grid system and the rest of the website styling to be done by vanila css?

    • @Mdbootstrap
      @Mdbootstrap  Місяць тому +1

      1) Bootstrap is easier, but CSS has some easier modern features like grid-template-areas, auto-placement, and fractional units.
      2) Yes, you can absolutely use Bootstrap solely for its grid system and handle the rest of the styling with vanilla CSS. This approach allows you to take advantage of the simplicity and responsiveness of Bootstrap's grid while maintaining complete control over the design and styling with your custom CSS. Here’s how you can do it:
      Include Bootstrap CSS: Add the Bootstrap CSS file to your project, either by linking to the CDN or downloading it.
      Use Bootstrap Grid Classes: Utilize Bootstrap’s grid classes in your HTML to define the layout.
      Custom Styling with Vanilla CSS: Create a separate CSS file for your custom styles and include it after Bootstrap’s CSS. This way, your styles can override any Bootstrap styles if necessary.
      Write Your CSS: In your custom CSS file, you can write any styles you need for your project.
      Keep Coding :)

    • @alirezar7920
      @alirezar7920 Місяць тому

      @@Mdbootstrap thanks for the response🙏

    • @Mdbootstrap
      @Mdbootstrap  Місяць тому

      @@alirezar7920 No problem, happy to help :)

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

    what is the main difference between bootstrap4 and 5.please give an example

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

      Main difference is jQuery. Bootstrap 4 relays on that, while Bootstrap 5 is rewritten in pure JS. You can still use jQuery with B5, though...

  • @90daner
    @90daner 2 роки тому

    how you update automatic your browser ? what is the name of the pluging for vs code?

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

      ua-cam.com/video/fh97jo6Xur8/v-deo.html

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

    Videos like this make me question why I have 30+ udemy courses on Web Development 🤣.

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

    How you giving space between column please tell me ....

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

      Please post question on our facebook group : facebook.com/groups/682245759188413

    • @George-ew2in
      @George-ew2in 3 роки тому

      make border man

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

    would've been cool if you provided a source of your grid example

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

      Right?! Like the style section which just magically popped up.

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

    can u make container like amazon i am trying but failed i will not give up f u help me ?

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

    how do i do that shortcut @ 12:21 exactly?

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

    i need 5 columns in bootstrap how to do please help me

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

      Use 5x col-2 and center it, it doesn't have to sum up to 12, it only cannot exceed 12 in total.

  • @anilaldtg3054
    @anilaldtg3054 3 роки тому +3

    5 columns how to do

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

      Depending on size, you could use 5x col-2 and center it using flex box (. d-flex .justify-content-center)

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

    @8:30 I thought the “col-xs-12” means extra small columns, wil show 12 columns maximum. 😂😂 That makes more sense.

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

    My like is 1000

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

    finally, my problem is solved

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

      I'm glad you found this video useful :)

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

    Extra small
    =768px Medium>=992px Large>=1200px
    Class prefix .col-xs- .col-sm- .col-md- .col-lg-

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

    How to make some columns big and some columns small?

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

      You must use the appropriate grid classes. More on this topic can be found in the documentation -mdbootstrap.com/docs/standard/layout/grid/

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

    where is the toutrial i cant see it. you explain what ???

  • @RaviTeja-ec7mf
    @RaviTeja-ec7mf 4 роки тому

    We are excepting examples

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

    This version just for testing

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

    rahmat kotta

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

    Please HELP HELP HELP
    How to import new colors and how to use THEM PLEASE

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

      Which colors do you mean? Theming? getbootstrap.com/docs/5.0/customize/color/#theme-colors

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

      @@Mdbootstrap yea how to import them i really dont know

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

    Hii

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

    Why the thumbnail doesn't match with the content??

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

      Dear Ahmed, obviously we cannot cover all possible examples, please check this tutorial for more advanced setups mdbootstrap.com/docs/standard/layout/grid/

    • @George-ew2in
      @George-ew2in 3 роки тому

      exactly! this is bad way.

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

    thank you very much your video helped me to complete my task...expecting more video's from you....

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

      Happy to help! We'll have some new content coming shortly (busy time for David right now, he just came back from vacation)

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

    Bro

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

    why can we only raise one thumb up??? 😂

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

    Cliquei achando q tava em portuga. Cara de brasileiro da porra kkk

  •  Місяць тому

    Now that there is a powerful and easy NATIVE grid system in CSS it's really totally unnecessary to use a rather limited layer on top of that. You are missing a lot of the functionality that makes CSS grid great, like named grid areas, overlapping cells and all that stuff. There is a lot more possible with the native tools that can be replicated with some utility classes. And you will never learn how to use e.g. CSS variables to write reusable and easy to adapt
    But the biggest unavoidable problem with all these extra systems (and tailwind et al.) is that they will be obsolete eventually, because everyone is using this other [hot new thing]™ now, that you then have to learn. I got burned a number of times and decided to ditch all these css libraries and grid systems in favor of the native grid. And it's really great! I use only my own CSS, no third party stuff that brings it's own quirks to work around.

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

    I have clicked on the video because I hoped that in the end I will know how to create the layout in cover image. It does not get even close. There wsas the example with vertical fill, but it is not in the video. Sorry, but this was not helpful.

  • @ghaliahmed
    @ghaliahmed 10 місяців тому

    it's not professional 😕

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

    I saw the video still dont know how to create example 2, thumbs down.

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

      This is an essence, check our other videos which are longer and explains more details.

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

    You are very clear. Very good tutorial. Thanks.