数据分析师2017-10-01 00:17:14
How to set a background image for a div? -PHP Chinese website Q&A-How to set a background image for a div? -PHP Chinese website Q&A
Let’s take a look and learn.
迷茫2017-02-14 09:42:33
先看下div 标签代码:
<div class="div"></div>
然后来看下css部分代码
.div{
background:url('背景图片');
}
这样就完成效果了