CSS Introduction | Advanced CSS | Scroll

div Scrolling Feels Slow and Unnatural on Mobile Web

Scrolling in a div tag generally works reliably in web browsers, but in mobile web browsers it can feel slow and unnatural.

One way to resolve this is as follows.

<div style="-webkit-overflow-scrolling: touch;">

Source: http://indienote.tistory.com/60 [IndieNote]

Scrollbar Colors

You can change scrollbar colors by using scrollbar properties.

<style type="text/css">
body {
scrollbar-highlight-color:#FFFFFF; 
scrollbar-3dlight-color:#B58E63; 
scrollbar-face-color:#F2ECE6; 
scrollbar-shadow-color:#B58E63; 
scrollbar-darkshadow-color:white; 
scrollbar-track-color:#FFFFFF; 
scrollbar-arrow-color:#B58E63;
}
</style>