bootstrap输入框组

时间:2020-10-15 15:40:00 来源:互联网 热度: 作者: 佚名 字体:

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>我是中国人</title>

        <!-- 新 Bootstrap 核心 CSS 文件 -->
        <link href="css/bootstrap.min.css" rel="stylesheet">

        <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
        <script src="js/bootstrap.min.js"></script>

        <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    </head>
    <body>
        <div id="" class="input-group">
            <span class="input-group-addon">搜索</span>
            <input type="search" name="" id="" value="" class="form-control" />
        </div>
        <div id="" class="input-group">
            <input type="search" name="" id="" value="" class="form-control" />
            <div id="" class="input-group-addon">
                查询内容
            </div>
        </div>
    </body>
</html>
<img width="244" height="80" title="image" style="margin: 0; display: inline; background-image: none" alt="image" src="https://img2020.cnblogs.com/blog/1747317/202010/1747317-20201015153945760-1364772869.png" border="0" class="img-responsive">