Set color for extra page parts visible during rubber band scroll
问题 At least when you scroll over the edge on mac, you see the page moving down and leaving a plain color behind it. Iv'e figured out the you can change the color by setting the background color of the body . But is there any other approach to it? Because sometimes I need a different colors at top and bottom, etc. 回答1: My solution has been to cheat a little bit and use a linear-gradient() on the html or body tag to control the segmented background colors for a given project. Something like this