我正在嘗試創建以下跨度類。在HTML和CSS中創建內聯跨度類
其實我是新來的UI設計,我不能準確地創建這個按鈕的image.This是到目前爲止我的代碼。
.white-button {
width: 500px;
height: 100px;
border-style: solid;
border-width: 1px;
border-color: #eaeaea;
text-align: justify;
}
.green-button {
width: 500px;
height: 100px;
border-style: solid;
border-width: 1px;
border-color: #eaeaea;
text-align: justify;
}
<span style="display: inline;">
<span class="white-button">$ 50
</span>
<span class="green-button">Give Now
</span>
</span>
<font style="color:#20A1D4; text-align:left">
<i><br>Why give $5o?</i>
</font>
誰能幫我!謝謝。
,如果你發佈你在說什麼的圖片可能更容易爲「調試」。以及您正在使用的瀏覽器。 – theGleep
究竟,像哪個圖像? –
爲什麼你使用'span'來創建一個按鈕和一個文本輸入? – Turnip