900字范文,内容丰富有趣,生活中的好帮手!
900字范文 > 微信小程序中更改button的样式

微信小程序中更改button的样式

时间:2019-12-01 22:43:37

相关推荐

微信小程序中更改button的样式

Button按钮

<button class='getCodeView firstListLineStyle'disabled='{{disabled}}' </button>

Button按钮样式

.getCodeView {

width: 100%;

margin-right: 20rpx;

height: 60rpx;

line-height: 60rpx;

background: #fff;

color:#1e82d2;

padding-right:0rpx;

}

修改button按钮disabled为true时 会出现灰色字体 浅灰色背景的样式

button[disabled]:not([type]) {

background-color: #fff;

color: #1e82d2 ;

}

修改button按钮带有虚边的样式

button::after {

border: none;

}

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。