CSS Background Attachment Scroll/Fixed and Background Size cover
问题 Why is background-size:cover different if background-attachment: scroll or background-attachment: fixed used? Example: http://jsfiddle.net/enriqg9/Yn43U/ 回答1: The difference isn't really in background-size: cover . The difference between background-attachment: scroll and background-attachment: fixed is that "... scroll means that the background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.) "... fixed