zoukankan      html  css  js  c++  java
  • input框后添加文字单位

            .input-group {
                position: relative;
                display: table;
                border-collapse: separate;
                 100%;
            }
            .input-group .form-control, .input-group-addon {
                display: table-cell;
            }
            .input-group-addon {
                padding: 5px;
                text-align: center;
                background-color: #eee;
                border-radius: 2px;
                border-top-left-radius: 0;
                border-bottom-left-radius: 0;
            }
            .input-group .form-control:first-child{
                border-top-right-radius: 0;
                border-bottom-right-radius: 0;
            }
    

    <div class="input-group">

        <input name="up_the_peak_gain" type="text" class="layui-input form-control" lay-verify="required">

        <span class="input-group-addon">文字</span>

    </div>

     
     
    原文链接:https://blog.csdn.net/wanghu20150107010129/article/details/103529579
  • 相关阅读:
    requests模块
    爬虫基础
    forms组件
    分页器组件
    cookie与session组件
    Auth模块
    中间件组件
    git
    Ajax
    《Java程序设计》实验二 实验报告
  • 原文地址:https://www.cnblogs.com/zj68/p/12786289.html
Copyright © 2011-2022 走看看