版权声明:JiahaoZhang原创文章,转载请注明出处 https://blog.csdn.net/GrootBaby/article/details/87864207
/* 自定义查询按钮样式 */
.query {
width: 0.4rem;
height: 0.22rem;
line-height: 0.22rem;
border: 1px solid #C6C6C6;
outline: 0;
cursor: pointer;
}
/* 不写 :active 状态,没有类似点击弹起效果 */
.query:active {
box-shadow: inset 0 3px 5px 0 rgba(0,0,0,0.2);
}