2012-12-17 13 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;} 

然后通过调用它的类这样的应用背景色的容器?