关于MUI中单选框中点击选中的样式

HTML---部分

<div class="mui-input-row mui-radio mui-left">

<label>设为默认</label>

<input name="radio" type="radio" checked="checked">

</div>

CSS---部分

.mui-input-row.mui-radio input[type=radio]:checked:before{

content:'\e442';

}     

                        -------------------------------这是可以改变单选框中的点击样式。

.mui-checkbox input[type=checkbox]:checked:before, .mui-radio input[type=radio]:checked:before{

color: #FF5C77;

}     

                       ---------------------------------这是可以改变单选框中的点击样式的颜色。

猜你喜欢

转载自blog.csdn.net/weixin_42400955/article/details/84346658