首页 > 编程知识 正文

css3单选框,css单选按钮

时间:2023-05-04 18:55:18 阅读:50276 作者:2374

input[type=checkbox] {

margin-right: 5px;

cursor: pointer;

font-size: 14px;

width: 15px;

高清: 12px;

position: relative;

}

input [ type=checkbox ] : after {

位置: absolute;

width: 10px;

height: 15px;

top: 0;

内容: ';

背景色: # ff 0000;

color: #fff;

display :在线区块;

可视:可视;

padding: 0px dsdcjl;

border-radius: dsdcjl;

}

input [ type=checkbox ] : checked : after {

内容: ';

font-size: 12px;

}

input[type=radio] {

margin-right: 5px;

cursor: pointer;

font-size: 14px;

width: 15px;

高清: 12px;

position: relative;

}

input[type=radio]:after {

位置: absolute;

width: 10px;

height: 15px;

top: 0;

内容: ';

背景色: # ff 0000;

color: #fff;

display :在线区块;

可视:可视;

padding: 0px dsdcjl;

border-radius: 50%;

}

input [ type=radio ] : checked : before {

内容: ';

显示: block;

position: relative;

top: -2px;

left: dsdcjl;

width: 6px;

height: 6px;

color: #fff;

字体权重: 400;

z-index: 1;

}

plus

微型计算机

plus

微型计算机

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。