<style>
/* 任意起的ID名称 */
#success{
background: #0782ff;
color: #fff;
border: 1px solid #0782ff;
}
/* 必须是button */
button:active {
opacity: .6;
}
</style>
<!-- 这样使用即可 -->
<el-button id="success">按钮</el-button>
解决el-button的点击后不自动失去焦点的问题
最新推荐文章于 2024-05-29 08:39:03 发布