css3整理--background-image
background-image语法:
background-image: url1,url2,...,urlN;
通过“,”分隔N张背景图片,background的所有其它属性需要配合该属性进行设置,如下:
background-repeat: repeat1,repeat2,...,repeatN;
background-position: position1,position2,...,positionN;
background-size: size1,size2,...,sizeN;
backrgound-attachment: attachment1,attachment2,...,attachmentN;
background-clip: clip1,clip2,...,clipN;
background-origin: origin1,origin2,...,originN;
都需要通过“,”进行对应图片的设置。