bootstrap grid add div up to div code example
Example 1: row class in bootstrap
/*
In Bootstrap, the "row" class is used mainly to hold columns in it.
Bootstrap divides each row into a grid of 12 virtual columns.
In the following example, the col-md-6 div will have the width of 6/12 of the "row"s div, meaning 50%.
The col-md-4 will hold 33.3%, and the col-md-2 will hold the remaining 16.66%.
*/
Example 2: .col-6 bootstrap
.col-6{
flex: 0 0 50%;
max-width: 50%;
}