Hello Dear Readers, Today In this Post, You will learn Bootstrap 5 Tutorial For Beginners #5 – Bootstrap 5 Col Class Tutorial. Earlier I have shared Bootstrap 5 Tutorial For Beginners #4 – Layouts and Grids in Bootstrap 5. and now it’s time to Bootstrap 5 Tutorial For Beginners #5 – Bootstrap 5 Col Class Tutorial
In this tutorial, You will learn full Bootstrap 5. This is Part-5 of Bootstrap 5 tutorial I will give all the part here and if you want to go deep in the tutorial so you can watch the full video which is I like below Hope it will help you all thank for visiting.
In this tutorial you will learn Bootstrap Tutorial In Hindi, Bootstrap 5 Col Class Tutorial. Bootstrap 5 Tutorial In Hindi You can learn what is bootstrap framework, what are the advantages of the bootstrap tutorial in Hindi. Make sure to Subscribe, Share the video, and Like it, for more tutorials in Hindi like this one!
Grid system
Bootstrap 5 Grid system
Bootstrap grid is a powerful system for building mobile-first layouts. It’s very extensive tool with a great number of options. Below we present you the core knowledge. It’s a simplified overview of the most commonly used examples.
Basic example
Bootstrap’s grid system uses a series of containers, rows, and columns to layout and align content. It’s built with flexbox and is fully responsive. Below is an example and an in-depth explanation for how the grid system comes together.
Columns
Bootstrap’s grid system allows up to 12 columns across the page.
How it works
Breaking it down, here’s how the grid system comes together:
Our grid supports six responsive breakpoints. Breakpoints are based on
min-width
media queries, meaning they affect that breakpoint and all those above it (e.g.,.col-sm-4
applies tosm
,md
,lg
,xl
, andxxl
). This means you can control container and column sizing and behavior by each breakpoint.Containers center and horizontally pad your content. Use
.container
for a responsive pixel width,.container-fluid
forwidth: 100%
across all viewports and devices, or a responsive container (e.g.,.container-md
) fir combination of fluid and pixel widths.Rows are wrappers for columns. Each column has horizontal
padding
(called a gutter) for controlling the space between them. Thispadding
is then counteracted on the rows with negative margins to ensure the content in your columns is visually aligned down the left side. Rows also support modifier classes to uniformly apply column sizing and gutter classes to change the spacing of your content.Columns are incredibly flexible. There are 12 template columns available per row, allowing you to create different combinations of elements that span any number of columns. Column classes indicate the number of template columns to span (e.g.,
col-4
spans four).width
s are set in percentages so you always have the same relative sizing.Gutters are also responsive and customizable. Gutter classes are available across all breakpoints, with all the same sizes as our margin and padding spacing. Change horizontal gutters with
.gx-*
classes, verical gutters with.gy-*
, or all gutters with.g-*
classes..g-0
is also availble to remove gutters.Sass variables, maps, and mixins power the grid. If you don’t want to use the predefined grid classes in Bootstrap, you can use our grid’s source Sass to create your own with more semantic markup. We also include some CSS custom properties to consume these Sass variables for even greater flexibility for you.
Sir, where we will get code used in this video and its ppts, i have searched on your website too.