所以我想在 1 行或 2 行中制作名稱為“插入檔案音頻(mp3)”的大按鈕,但我可以讓它變成 4 行,即每個單詞都有 1 行。
有人可以幫我制作帶有名稱的按鈕嗎?選項 1:插入檔案音頻 (mp3)
選項 2:插入檔案音頻 (mp3)
這是我的代碼:
<button type="button" class="btn btn-outline-warning" style="background-color: #e7ab6f; padding: 20px 120px; color: white;">
<i class="large material-icons" style="font-size: 50pt;">audiotrack</i>
<p style="font-weight: bold; color: white;">Insert file audio (mp3)</p>
</button>
uj5u.com熱心網友回復:
您的代碼是正確的,它在 1 行中顯示了整個名稱。我正在復制粘貼您的代碼,它正在按照您的意愿運行。
<button type="button" class="btn btn-outline-warning" style="background-color: #e7ab6f; padding: 20px 120px; color: white;">
<i class="large material-icons" style="font-size: 50pt;">audiotrack</i>
<p style="font-weight: bold; color: white;">Insert file audio (mp3)</p>
</button>
或者我可能誤解了你的問題,你能告訴我你想要你的代碼做什么嗎?
如果您希望名稱出現在單獨的行中,則可以使用多個<p>標簽,如下所示:
<button type="button" class="btn btn-outline-warning" style="background-color: #e7ab6f; padding: 20px 120px; color: white;">
<i class="large material-icons" style="font-size: 50pt;">audiotrack</i>
<p style="font-weight: bold; color: white;">Insert</p>
<p style="font-weight: bold; color: white;">file</p>
<p style="font-weight: bold; color: white;">audio</p>
<p style="font-weight: bold; color: white;">(mp3)</p>
</button>
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/462527.html
