html的radio控件怎样隐藏不显示
答案:4 悬赏:70
解决时间 2021-01-28 03:24
- 提问者网友:辞取
- 2021-01-27 17:09
html的radio控件怎样隐藏不显示
最佳答案
- 二级知识专家网友:怀裏藏嬌
- 2021-01-27 17:43
之前发现 好好的radio所有这个控件都隐藏了 原来少了个这个CSS
-webkit-appearance: radio;
-webkit-appearance: radio;
全部回答
- 1楼网友:思契十里
- 2021-01-27 20:54
<div class="display:none">
需要隐藏的内容
</div>
需要隐藏的内容
</div>
- 2楼网友:胯下狙击手
- 2021-01-27 20:02
style="display:none"
- 3楼网友:一叶十三刺
- 2021-01-27 19:03
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<style>
input{
position: absolute;
left: -9999px;
}
</style>
<body>
<input type="radio" name="sex" id="sex" value="man" />男人
<input type="radio" name="sex" id="sex" value="women" />女人
</body>
</html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<style>
input{
position: absolute;
left: -9999px;
}
</style>
<body>
<input type="radio" name="sex" id="sex" value="man" />男人
<input type="radio" name="sex" id="sex" value="women" />女人
</body>
</html>
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯