給div元素設置背景顏色

Give a Background Color to a Div Element 你可以用 background-color 屬性來設置一個元素的背景顏色。 例如,如果你想把一個元素的背景顏色設置爲green,你應該把這些加到你的 style 元素中: .green-background {   background-color: green; } 創建一個叫做 gray-background 的
相關文章
相關標籤/搜索