2012-12-17 18 views

回答

0

看起來這是一個簡單的背景顏色。它在圖像尚未加載時可見,然後只是覆蓋。你可以用background-color每個這樣建立不同類別:

<div class="red">the div content</div> 
<div class="yellow">the div content</div> 

難道你是什麼後:

.blue{ background-color: blue;} 
.yellow{ background-color: yellow;} 
.red{ background-color: red;} 

然後通過調用它的類這樣的應用背景色的容器?