2017.3.15
1、背景加图必须设高
.banner{
height: 465px;
background: url("images/banner.jpg") no-repeat center top;
}
2、一列最后一行?
.product ul li.last{
margin-right: 0;
width: 217px;
}
3、如何给a标签旁边加三角形图案
background: url("images/sanjiaoxing.png") no-repeat right center;
padding-right: 14px;
4、背景图定位
使content贯穿,加山峰图
5、背景文字使用,替代图片,利于优化SEO
texe-indent:9999px;