Twitter bootstrap 带文本和图标的Bootstrap4按钮

Twitter bootstrap 带文本和图标的Bootstrap4按钮,twitter-bootstrap,bootstrap-4,Twitter Bootstrap,Bootstrap 4,我想通过使用bootstrap4插入来添加更多空间,从而在浏览文本和字体图标之间留出一些空间 探索我使用的按钮方式如下: <button type="button" class="btn btn-primary"><i class="fas fa-close mr-1"></i> Primary</button> Primary 根据需要,使用默认间距类添加空间 谢谢。请阅读并发布您在问题中尝试的代码。

我想通过使用bootstrap4插入
来添加更多空间,从而在浏览文本和字体图标之间留出一些空间



探索
我使用的按钮方式如下:

<button type="button" class="btn btn-primary"><i class="fas fa-close mr-1"></i> Primary</button>
Primary
根据需要,使用默认间距类添加空间

谢谢。

请阅读并发布您在问题中尝试的代码。