为什么我不能在文本框中使用 bootstrap Glyphicons?

Why i can not use bootstrap Glyphicons in my text box?

我是 bootstrap 的新手,想在我的文本框中使用 Glyphicons,为此编写以下代码:

<div class="input-group input-group-lg">
        <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span>
        <input type="text" class="form-control" placeholder="نام">
    </div>


但是当我 运行 我的页面在文本框中看不到任何图标时,我该如何解决?谢谢。

试试这个。 希望对您有所帮助。

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

<div class="container">
  <div class="row">
 <div class="col-sm-4 col-sm0-offset-4">
   <div class="form-group has-feedback">
     <label class="control-label" for="inputSuccess2">Input with Icon</label>
    <input type="text" class="form-control" id="inputSuccess2">
    <span class="glyphicon glyphicon-ok form-control-feedback"></span>
   </div>
  </div>
 </div>
</div>