输入中的bootstrap 4图标不起作用

时间:2018-05-05 23:46:24

标签: bootstrap-4

我试图在输入的左侧制作图标,但它没有显示我。



    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">

 <div class='form-grpup has-feedback'>
          <span class='"glyphicon glyphicon-search'> </span>
            <input type="search" class="form-control form-control-lg" placeholder="Search"/>
          </div>
&#13;
&#13;
&#13;

1 个答案:

答案 0 :(得分:0)

bootstrap 4中的Glyphicon不在里面......你必须从boot3复制fonts文件夹,然后在bootstrap.css中添加这段代码......再见......

https://gist.github.com/planetoftheweb/5d75a1ad45eb3059710747a3695fc068