2 回答
TA贡献1828条经验 获得超3个赞
只需使用该button标签并根据需要调整其 CSS:
button {
border: 0;
padding: 0;
font-size: 15px;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet" />
<button type="button"><i class="fas fa-plus-square"></i></button>
TA贡献1827条经验 获得超8个赞
你就快到了:
* {
border: 0;
padding: 0;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet" />
<button type="button"><i class="fas fa-plus-square" style="font-size:30px"></i></button>
- 2 回答
- 0 关注
- 114 浏览
添加回答
举报