zoukankan      html  css  js  c++  java
  • bootstrap 表单样式

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>test</title>
        <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css"> 
        <style>
            .form-control-feedback{right:15px;}
            @media (min- 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>
  • 相关阅读:
    使用fiddler进行app弱网测试
    弱网测试
    Java虚拟机的内存模型
    Junit使用
    python安装numpy和scipy的资源
    HTTP资源合集
    http之post方法 提交数据的四种方法
    计算机编码中的换行 CR与LF
    python Mixin 是个啥?
    python mock的简单使用
  • 原文地址:https://www.cnblogs.com/tonghaolang/p/5997401.html
Copyright © 2011-2022 走看看