<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
#vcode,#code,#btn{
float: left;
display: inline-block;
height: 40px;
line-height: 40px;
box-sizing: border-box;
margin-left:5px ;
}
#vcode{
padding: 0 10px;
}
#code{
width: 100px;
text-align: center;
background: red;
color: blue;
font-size: 1.2em;
letter-spacing: 5px;
}
#code:hover{
background: orangered;
}
.ok{
border:1px solid greenyellow ;
box-shadow: 0 0 5px;
}
.err{
border:1px solid yellow;
box-shadow: 0 0 5px;
}
</style>
</head>
<body>
<input type="text"id="vcode" placeholder="验证码"/>
<span id="code" title="换一张">
3gH7
</span>
<button id="btn">验证</button>
<script>
var data&#
网页验证码
最新推荐文章于 2023-12-08 21:40:01 发布