I want to do is remove the button blue box shadow effect in my class btnd
if the button is click.
current output:
i tried this but it doesnt work.
.btnd:active,
.btnd.active {
background-image: none;
outline: 0;
-webkit-box-shadow: none;
box-shadow: none;
}
Answer: Use CSS outline propertyIn Google Chrome browser form controls like <input> , <textarea> and <select> highlighted with blue outline around them on focus. This is the default behavior of chrome, however if you don't like it you can easily remove this by setting their outline property to none .
If you want to remove the focus around a button, you can use the CSS outline property. You need to set the “none” value of the outline property.
To remove the box-shadow, we will add an additional class . box-shadow-none. Used Classes: .
Use the . shadow-none class in Bootstrap to remove shadow.
Blue shadow is browser default :focus state
.btnd:active,
.btnd:focus,
.btnd:focus:active {
background-image: none;
outline: 0;
box-shadow: none;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With