CSS multiple Background Images both repeat-x
问题 I try to get multiple background images in one div at the moment. Both must repeat-x. The first image should start at the top-left point up to 50% of the div. The second should start at the middle to the right end of the div. I tried the following: .myDiv { background-image: url('image1.png'), url('image2.png'); background-repeat: repeat-x, repeat-x; background-position: left top, center top; background-size: 50% 100%, 50% 100%; } My problem is that only image1 is shown. 回答1: Set two