从输入标签中删除glyphicon

时间:2017-01-04 19:35:30

标签: html twitter-bootstrap-3

我的代码如下:

<div class="form-group">
    <div class="input-group col-xs-6">
        <input type="text" class="form-control"placeholder="Model" name="pdq">
    </div>
</div>

给出了这个:

enter image description here

问题: 我怎样摆脱右边的glyphicon?

1 个答案:

答案 0 :(得分:0)

我无法复制此问题 - 请参阅下面的演示

您确定没有为您添加浏览器扩展程序/插件吗?

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

<div class="form-group">
  <div class="input-group col-xs-6">
    <input type="text" class="form-control" placeholder="Model" name="pdq">
 </div>
</div>