Is there a way to apply an offset in decimals. In my case I need an offset of 3.5.
I don't think col-xs-offset-3.5
works.
Asked
Active
Viewed 950 times
1

Nikhil Khurana
- 422
- 1
- 5
- 12
-
2Possible duplicate of [Can I give the col-md-1.5 in bootstrap?](https://stackoverflow.com/questions/30026855/can-i-give-the-col-md-1-5-in-bootstrap) – Obsidian Age Jul 11 '18 at 03:45
1 Answers
1
You can define a column of 5 and center it horizontally. That should give you an offset of 3.5 before and after.
<div class="container">
<div class="row">
<div class="col-5 mx-auto">
col-5
</div>
</div>
</div>

David Liang
- 20,385
- 6
- 44
- 70