input案例

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>input案例</title>
	<style>
		.line{
			margin-top:20px;
			width: 170px;
			display:block;
		}
		.line .shuru{
			width:100px;
			height: 20px;
			border: 1px solid #0075d2;
			border-radius: 3px;
			padding-left: 3px;
		}
		.line .chongzhi{
			width: 50px;
			height: 23px;
			border: 1px solid #0075d2;
			border-radius: 3px;
			color: #0075d2;
			background-color: #fff;
			float:left;
		}
		.line .tijiao{
			margin-right:20px;
			width: 50px;
			height: 23px;
			border-radius: 3px;
			color: #fff;
			background-color: #0075d2;
			float: right;
			border: 0;
		}
		.line .danxuan{
			opacity:0;
			margin:0;
		}
		.line .yangshi{
			border-radius: 50%;
			width:15px;
			height: 15px;
			border:1px solid #b7b7b7;
			display: inline-block;
			cursor:pointer;
		}
		.line .on{
			border:0;
			background-color: #0075d2;
		}
	</style>
</head>

<body>
  <form action="">
    <div class="line">
	  <span>账号:</span>
		<input type="text" class="shuru">
	  </div>
	  
	   <div class="line">
	  <span>密码:</span>
		<input type="password" class="shuru">
	  </div>
	  
      <div class="line">
	  <span>性别:</span>
	  <span>男</span>
	  <span class="yangshi on">
	  <input type="radio" name="xingbie" class="danxuan">
	  </span>
	  <span>女</span>
	  <span class="yangshi">
	  <input type="radio" name="xingbie" class="danxuan">
	  </span>
	  </div>
	  
	 <div class="line border-radius: none">
	  <span>爱好:</span>
	  <span>羽毛球</span>
	  <span class="yangshi on">
	  <input type="checkbox" class="danxuan">
	  </span>
	  <span>篮球</span>
	  <span class="yangshi">
	  <input type="checkbox" class="danxuan">
	  </span>
	  </div>
	  
	  <div class="line">
	  <input type="reset" class="chongzhi">
	  <input type="submit" class="tijiao">
	  </div>
	</form>
</body>
</html>

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值