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

后端 未结 3 580
醉梦人生
醉梦人生 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:28

    I deal with this problem just yesterday. You need:

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

    The key is in last selector .btnd:focus:active.

提交回复
热议问题