【问题标题】:bootstrap 4 icon inside input not works [duplicate]输入内的bootstrap 4图标不起作用[重复]
【发布时间】:2018-10-16 03:02:24
【问题描述】:

我正在尝试在输入的左侧制作图标,但它不显示。

    <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>

【问题讨论】:

标签: bootstrap-4


【解决方案1】:

bootstrap 4 中的 Glyphicon 不再在里面了...您必须从 boot3 复制字体文件夹,然后将此代码添加到 bootstrap.css...再见...

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

【讨论】:

    猜你喜欢
    • 2017-10-23
    • 2018-06-17
    • 1970-01-01
    • 2019-09-17
    • 2018-03-22
    • 2018-04-10
    • 1970-01-01
    • 2018-01-27
    • 2018-08-30
    相关资源
    最近更新 更多