布局 搜索样式 html


原文:https://blog.csdn.net/linlinxie/article/details/77484214?utm_source=blogkpcl4

 

 

测试1:

 

<div class="panel panel-default">
    <div class="panel-heading">搜索</div>
    <div class="panel-body">
        <form role="form" id="searchForm" class="form-inline">
            <div class="form-group">
                <label for="sname1">用户名</label> <input type="text"
                                                        class="form-control" id="sname1" name="sname1" placeholder="请输入名称">
            </div>
            <div class="form-group">
                <button type="button" id="searchBtn" class="btn btn-default">开始搜索</button>
            </div>
        </form>
    </div>
</div>

 

 

 

 

测试2:

<form role="form" id="searchForm" class="form-inline">
    <div class="form-group">
        <label for="sname1">用户名:</label>
        <input type="text" class="form-control" id="sname1" name="sname1" placeholder="请输入名称">
    </div>
    <div class="form-group">
        <button type="button" id="searchBtn" class="btn btn-default">开始搜索</button>
    </div>
</form>

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM