uniapp 更改原生按钮的样式
/*style样式中加入scoped(私有化) class前面加/deep/(穿透)*/<style scoped>/deep/.uni-input-input{/*deep样式穿透,直接从底部修改*/font-size: 18px !important;}/deep/button{font-size: 18px !important;}</style><!--仅用于
·
/*style样式中加入scoped(私有化) class前面加/deep/(穿透)*/
<style scoped>
/deep/.uni-input-input{ /*deep样式穿透,直接从底部修改*/
font-size: 18px !important;
}
/deep/button{
font-size: 18px !important;
}
/* 去掉uniapp中button自带的边框 */
/deep/button::after {
border: none
}
</style>
<!--仅用于自己遇到的问题整理,不做它用-->
更多推荐
已为社区贡献7条内容
所有评论(0)