How to set element class to col-md-1.5 in Bootstrap and CSS?

Spread the love

To set element class to col-md-1.5 in Bootstrap and CSS, we set the width property.

For instance, we write

<div
  class="col-md-1"
  style="width: 12.499999995%; flex: 0 0 12.499%; max-width: 12.499%"
></div>

to set the width of the div to the width we want.

Leave a Reply

Your email address will not be published. Required fields are marked *