web前端|html教程
checkbox,radio,HTML
web前端-html教程HTML的checkbox和radio样式美化的简单实例
酒店网站php源码,vscode格式化代码bu,Ubuntu进程列表,tomcat地址怎么取消,中国爬虫社会,php整数转换为字符串,长沙seo优化公司关键词lzw
checkbox:
程序发布源码,ubuntu不能安装pip,tomcat高并发性能调优,python爬虫脚本代码,php二叉树类,海口seo流量lzw
input[type="checkbox"] { display: none; } input[type="checkbox"] + label {display: inline-block;position: relative;border: solid 2px #99a1a7;width: 35px;height: 35px;line-height: 35px;border-radius: 4px; } input[type="checkbox"]:checked + label:after {content: \2714;font-size: 25px;color: #99a1a7;width: 35px;height: 35px;line-height: 35px;position: absolute;text-align: center;background-color: #e9ecee; } .tab { margin-top: 20px; margin-bottom: 20px; width: 100%; } .tab td {border: solid 1px #f99;font-size: 25px;line-height: 39px; }
测试201
测试202
radio:XML/HTML Code复制内容到剪贴板input[type="radio"] { display: none; } input[type="radio"] + label {display: inline-block;position: relative;border: solid 2px #99a1a7;width: 25px;height: 25px;line-height: 25px;padding: 5px;border-radius: 19.5px; } input[type="radio"]:checked + label:after {content: ;font-size: 25px;color: #99a1a7;width: 25px;height: 25px;line-height: 25px;position: absolute;text-align: center;background-color: #99a1a7;border-radius: 12.5px; } input[type="radio"]:checked + label {background-color: #e9ecee; } .tab { margin-top: 20px; margin-bottom: 20px; width: 100%; } .tab td {border: solid 1px #f99;font-size: 25px;line-height: 39px; }
测试201
测试202
相信看了这些案例你已经掌握了方法,更多精彩请关注php中文网其它相关文章!
微信退出源码,ubuntu拔号上网,爬虫遇到登录跳转,php网站开发教程课本课后习题,天涯论坛seolzw
相关阅读:
h5和c3怎样做出太阳系行星运转的动画效果
css怎样固定div或者table在指定位置
HTML的语法详解