我正在寻找一个在bootstrap 4中创建和输入这样的解决方案
我使用字体很棒,这是我使用的代码
<div class="input-group">
<label class="control-label">Username</label>
<input type="text" class="form-control" placeholder="Username" />
<span>
<i class="fa fa-user-circle-o" aria-hidden="true"></i>
</span>
</div>
Run Code Online (Sandbox Code Playgroud)
但我从输入中获取图像任何帮助请 https://jsfiddle.net/5db2ho62/