2 回答

TA貢獻(xiàn)1828條經(jīng)驗(yàn) 獲得超3個(gè)贊
只需使用該button標(biāo)簽并根據(jù)需要調(diào)整其 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貢獻(xiàn)1827條經(jīng)驗(yàn) 獲得超8個(gè)贊
你就快到了:
* {
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 關(guān)注
- 198 瀏覽
添加回答
舉報(bào)