Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
css背景中有多少个多重图像_Css - Fatal编程技术网

css背景中有多少个多重图像

css背景中有多少个多重图像,css,Css,我只是想知道有多少图像可以用作CSS背景 或者在一个类中使用多个背景图像的任何其他方式,以便我可以使用多个图像 我试图使用这个,但它只接受两个图像 #example1 { background: url(img_flwr.gif) right bottom no-repeat, url(paper.gif) left top repeat; padding: 15px; } 您可以在背景中使用多个图像 body { background-image: url(img_flwr.

我只是想知道有多少图像可以用作CSS背景 或者在一个类中使用多个背景图像的任何其他方式,以便我可以使用多个图像

我试图使用这个,但它只接受两个图像

#example1 {
    background: url(img_flwr.gif) right bottom no-repeat, url(paper.gif) left top repeat;
    padding: 15px;
}

您可以在背景中使用多个图像

body {
background-image: url(img_flwr.gif), url(paper.gif),url(a.gif),url(b.gif);

}

请设置一个工作示例并与我们共享。无法找到任何关于上限的参考,尽管这可能会增加CSS膨胀,我觉得-。没有演示,很难说为什么它不适合你,下次:谷歌!这是非常基本的,你甚至没有寻找答案,你只是在这里问,因为你很懒。。谷歌>背景速记…,背景图片谷歌>背景图片你需要什么的完整解释