How can I make space between buttons in navbar? I usually do that with
but it doesn\'t work now. Here\'s an JSfiddle of how it looks:
http://j
You can define spacing inside the class in bootstrap 4.0x.
https://getbootstrap.com/docs/4.0/utilities/spacing/
So for example
<button type="button" class="btn btn-default ml-2>Button</button>
Copy & paste this to your style.css
and assign it as class attribute:
.btn-margin-left {
margin-left: 2px;
}
.btn-margin-right {
margin-right: 2px;
}
Usage
<a href="URL" class="btn btn-default btn-sm btn-margin-left">Link</a>
<button type="button" class="btn btn-default btn-sm btn-margin-left">Button</button>
you may try margin-left
here is the code
.btn{
margin-left:10px;
}
here is the example:: FIDDLE