1.

Sizing - Bootstrap

Answer»

With width and height utilities, you can easily make an element as wide or tall as its parent.

w-* Utility class that makes an element's width a percentage of its parent's width. <div class="w-25 p-3" style="background-color: blue">Width is 25%, size is 3</div>
h-* It provides customized height for the div tag. <div class="h-50 d-inline-block" style="background-color: red">Height= 50%</div>
mw-* It provides a maximum width. <div class="mw-100 bg-success">Maximum Width=100%</div>
mh-*It provides maximum height. <div class="mw-75 bg-success">Maximum height=75%</div>



Discussion

No Comment Found