按钮样式
.anniu {
display: inline-block;
width: 100px;
height: 34px;
background: linear-gradient(90deg, #52c0a7 0%, #80e8d1 100%);
border-radius: 6px;
font-size: 14px;
color: #fff;
line-height: 34px;
text-align: center;
margin-left: 20px;
cursor: pointer;
}
不可选择按钮样式
.disabled {
pointer-events: none;
cursor: default;
opacity: 0.6;
}
一个div按钮样式
最新推荐文章于 2024-07-25 12:15:00 发布