2021-07-31 09:32发布
[图]我想用input实现这样的一个效果,后面的【获取验证码】想插一个a链接,请教各位怎么写?
我想用input实现这样的一个效果,后面的【获取验证码】想插一个a链接,请教各位怎么写?
style
.wrap{
width: 270px;
border: 1px solid #ccc;
display: flex;
padding: 10px;
}
.wrap .btn{
padding: 5px 10px;
text-align: center;
background: #666;
color: #fff;
.wrap input{
flex:1;
class="wrap">type="text"> class="btn">验证码
type="text">
class="btn">验证码
最多设置5个标签!
style
.wrap{
width: 270px;
border: 1px solid #ccc;
display: flex;
padding: 10px;
}
.wrap .btn{
padding: 5px 10px;
text-align: center;
background: #666;
color: #fff;
}
.wrap input{
flex:1;
}
type="text">
一周热门 更多>