gpt4 book ai didi

html - 文本框内的搜索图标

转载 作者:行者123 更新时间:2023-11-28 05:17:21 25 4
gpt4 key购买 nike

如何在文本框内放置搜索图标

 <input class="col-lg-3 col-md-3 col-sm-5 col-xs-5 form-control" type="text" name="searchroleName" id="searchroleName" placeholder="Search By RoleName"/><span class="fa fa-search form-control-feedback"></span>

工作 fiddle

最佳答案

希望这段代码对您有所帮助。

    <div class="col-lg-3 col-md-3 col-sm-5 col-xs-5">    
<div class="input-group">
<input type="text" class="form-control" id="exampleInputAmount" placeholder="Amount">
<div class="input-group-btn">
<button type="button" class="btn btn-default">
<span class="glyphicon glyphicon glyphicon-search"></span>
</button>
</div>
</div>
</div>

关于html - 文本框内的搜索图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43585417/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com