【发布时间】:2022-11-27 14:06:56
【问题描述】:
我需要在行中显示带有 svg 图像和文本的按钮。
我这样做
<button class='btn btn-primary' style='background-color:purple; display: flex;'>
<div style='text-align:center;'>
<img src="assets/icons/Icon awesome-crown.svg" class="img-fluid" width="20px" height="20px">
</div>
Top Pick
</button>
它的显示是这样的
我需要实现
【问题讨论】:
标签: html css bootstrap-4