My button group has a link in the middle, so it needs to be an a
tag. I could change it to a button and use JavaScript for navigation, but I'd prefer not to. Here is the code:
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
<div class="btn-group nospiner">
<button type="button" class="btn btn-warning yekan create-wallet"><i class="mdi mdi-arrow-down-bold"></i> down</button>
<a href="link.php" type="button" class="btn btn-warning yekan pjax"> center</a>
<button type="button" class="btn btn-warning yekan ">up <i class="mdi mdi-arrow-up-bold"></i> </button>
</div>
Here is the result:
https://i.sstatic.net/gh7xk.png
The middle button has a border and gradient. How can I change it to make it look like the other buttons? I've tried adding border:none
to all .btn
classes and the button group, but it didn't work.