Grid Classes: .Col-.Col-Sm - .Col-Md - .Col-Lg - .Col-Xl
Grid Classes: .Col-.Col-Sm - .Col-Md - .Col-Lg - .Col-Xl
Grid Classes
The Bootstrap 4 grid system has five classes:
First example: create a row (<div class="row">). Then, add the desired
number of columns (tags with appropriate .col-*-* classes). The first star
(*) represents the responsiveness: sm, md, lg or xl, while the second star
represents a number, which should add up to 12 for each row.
<div class="row">
<div class="col-sm-4">.col-sm-4</div>
<div class="col-sm-8">.col-sm-8</div>
</div>
Example