How to remove the blue box shadow border in button if clicked

后端 未结 3 583
醉梦人生
醉梦人生 2020-12-28 18:05

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 w

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-28 18:29

    Blue shadow is browser default :focus state

    .btnd:active,
    .btnd:focus,
    .btnd:focus:active {
      background-image: none;
      outline: 0;
      box-shadow: none;
    }
    

提交回复
热议问题