代码如下:
.p1{
...
background:url(images/1.jpg) no-repeat top left,
url(images/2.jpg) no-repeat top right,
url(images/3.jpg) no-repeat bottom left,
url(images/4.jpg) no-repeat bottom right,
url(images/5.jpg) no-repeat center center;
...
}
哦了,CSS3多种背景就是这么回事儿,很简单吧。下面提供了完整的源码及示例,可以作为一个参考。
以上就是CSS3实例分享之多重背景的实现的详细内容,更多请关注Gxl网其它相关文章!
查看更多关于CSS3实例分享之多重背景的实现的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did72521