首页 > 代码库 > bootstrap 表单样式
bootstrap 表单样式
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>test</title> <link rel="stylesheet" href=http://www.mamicode.com/"http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css"> <style> .form-control-feedback{right:15px;} @media (min-width: 768px) { .flabel{text-align: right;line-height: 30px;} .finput{padding:0;} .form-control-feedback{right:0px;} } </style> </head> <body> <div class="container"> <div> <form> <div class="form-group has-success has-feedback"> <div class="col-sm-2 flabel"> <label for="">标签:</label> </div> <div class="col-sm-6 finput"> <input type="text" class="form-control input-sm"> <span class="form-control-feedback glyphicon glyphicon-remove"></span> </div> <div class="col-sm-4 ftips"> <div class="help-block">提示</div> </div> </div> <div class="form-group has-success has-feedback"> <div class="col-sm-2 flabel"> <label for="">标签:</label> </div> <div class="col-sm-6 finput"> <input type="text" class="form-control input-sm"> <span class="form-control-feedback glyphicon glyphicon-remove"></span> </div> <div class="col-sm-4 ftips"> <div class="help-block">提示</div> </div> </div> </form> </div> </div> </body> </html>
bootstrap 表单样式
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。