您的位置:首页 > Web前端 > CSS

更改input等的默认样式

2017-03-06 16:10 363 查看
input[type="radio"]{
position: absolute;
left: 50%;
top: 30%;
transform: translateX(-50%);
-webkit-appearance: none;
height: 32px;
vertical-align: middle;
width: 32px;
outline: none;
border: none;
}
input[type="radio"]:checked {
background: url('http://nffs.xulog.com:8080/node/src/answer/images/xuan.svg')no-repeat;
background-size: 100% 100%;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  css input标签