1<div class="w-25 p-3" style="background-color: #eee;">Width 25%</div>
2<div class="w-50 p-3" style="background-color: #eee;">Width 50%</div>
3<div class="w-75 p-3" style="background-color: #eee;">Width 75%</div>
4<div class="w-100 p-3" style="background-color: #eee;">Width 100%</div>
1The Bootstrap grid system has four classes:
2xs (for phones - screens less than 768px wide)
3sm (for tablets - screens equal to or greater than 768px wide)
4md (for small laptops - screens equal to or greater than 992px wide)
5lg (for laptops and desktops - screens equal to or greater than 1200px wide)
1<div style="height: 100px; background-color: rgba(255,0,0,0.1);">
2 <div class="mh-100" style="width: 100px; height: 200px; background-color: rgba(0,0,255,0.1);">Max-height 100%</div>
3</div>
1<div style="height: 100px; background-color: rgba(255,0,0,0.1);">
2 <div class="h-25 d-inline-block" style="width: 120px; background-color: rgba(0,0,255,.1)">Height 25%</div>
3 <div class="h-50 d-inline-block" style="width: 120px; background-color: rgba(0,0,255,.1)">Height 50%</div>
4 <div class="h-75 d-inline-block" style="width: 120px; background-color: rgba(0,0,255,.1)">Height 75%</div>
5 <div class="h-100 d-inline-block" style="width: 120px; background-color: rgba(0,0,255,.1)">Height 100%</div>
6</div>
1--------------------------------------------------------------------------------------
2Bootstrap Container Width | Size | Class Prefix
3--------------------------------------------------------------------------------------
4Extra small devices Phones (less than 768px) | None (auto) | .col-xs-
5Small devices Tablets (greater than equals 768px) | 750px | .col-sm-
6Medium devices Desktops (greater than equals 992px) | 970px | .col-md-
7Large devices Desktops (greater than equals 1200px) | 1170px | .col-lg-