网站介绍:多重背景通过 background-image 属性为一个元素添加多幅背景图像。不同的背景图像用逗号隔开,并且图像会彼此堆叠,其中的第一幅图像最靠近观看者。下面的例子有两幅背景图像,第一幅图像是花朵(与底部和右侧对齐),第二幅图像是纸张背景(与左上角对齐):#example1 { background-image: url(flower.gif), url(paper.gif); background-position: right bottom, left top; back_css中高级的背景
- 链接地址:https://blog.csdn.net/CyberPlayer/article/details/123179451
- 链接标题:CSS background 高级背景教学_css中高级的背景_CyberPlayer的博客-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:5489
- 网站标签:css中高级的背景