In a Cordova iPad App for iOS7, I have a DIV (.scrollContainer) with fixed height into which I'm putting some much taller content, and I'm allowing that contained content to scroll like this:
.scrollContainer
{
width: 512px;
height: 546px;
overflow: hidden;
overflow-y: scroll !important;
-webkit-overflow-scrolling: touch;
background-color: #fff !important;
}
#content
{
width: 512px;
background-color: #fff;
}
The user can scroll the nested content nicely in the touch interface, but the user can also scroll 'past' the end of the content above or below as per the iOS 7 interface (i.e. it snaps back when they let go).
The background colour revealed as they over-scroll is black. Is there any way to set this to a different colour using CSS?