1、去掉button光晕
用ant design中的Button的时候,每次点击都会在视图button上添加一个属性ant-click-animating-without-extra-node这个属性。如何才能取消?设置outline,box-shadow都无法取消。
Wave实现了这个光晕效果。在不修改antd 源码的情况下,ant-click-animating-without-extra-node这个属性是去不掉的,只有通过css去掉这个效果。
button[ant-click-animating-without-extra-node]:after { border: 0 none; opacity: 0; animation:none 0 ease 0 1 normal; }