Bootstrap – Sizing


Bootstrap – Sizing



”;



This chapter discusses about Bootstrap sizing. Sizing allows you to adjust the height and width of an element through the utility classes.



Relative to the parent

The width and height utilities are created using the utility API found in _utilities.scss. They come with default support for values like 25%, 50%, 75%, 100%, and auto. You can customize these values to generate different utilities.


Relative to the width

The w-25, w-50, w-75, w-100, and w-auto classes define the width of each div element.