如果点击按钮,如何删除按钮中的蓝色阴影边框 [英] How to remove the blue box shadow border in button if clicked

查看:297
本文介绍了如果点击按钮,如何删除按钮中的蓝色阴影边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要做的是在我的类 btnd 中删除​​按钮蓝色阴影效果,如果按钮被点击。

I want to do is remove the button blue box shadow effect in my class btnd if the button is click.

当前输出

我试过这个,但它不起作用。

i tried this but it doesnt work.

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


推荐答案

焦点状态

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

这篇关于如果点击按钮,如何删除按钮中的蓝色阴影边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆