.btn{
box-shadow: none !important
}
. btn:focus {
outline: none;
box-shadow: none;
}
<button type="button" class="btn btn-outline-primary" href="#">Primary</button>
Button-bootstrap
<button type="button" class="btn btn-outline-primary">Primary</button>
<button type="button" class="btn btn-outline-secondary">Secondary</button>
<button type="button" class="btn btn-outline-success">Success</button>
<button type="button" class="btn btn-outline-danger">Danger</button>
<button type="button" class="btn btn-outline-warning">Warning</button>
<button type="button" class="btn btn-outline-info">Info</button>
<button type="button" class="btn btn-outline-light">Light</button>
<button type="button" class="btn btn-outline-dark">Dark</button>
.btn{
box-shadow: none !important
/* this how we remove bootstrap button outline */
}