May be your properties are getting overridden.
Try attaching !important
to your code along with the :active .
.btn:focus,.btn:active {
outline: none !important;
box-shadow: none;
}
Also add box-shadow because otherwise you will still see the shadow around button.
Although this isn't a good practise to use !important I suggest you use more specific class and then try applying the css with the use of !important...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…