用css如何实现背景图片的自动替换首先 写多个背景的class比如.imgA {background: url(demo1.jpg) no-repeat}.imgB {background: url(demo2.jpg) no-repeat}....然后在需要切换背景的层上2023-04-23html-css200