Hi Yuan,
> Also,the scroll bar color can change?
It is possible to change the scollbar colors but it's somewhat laborious since you can't just tweak a single color, when you use a custom scrollbar selector it will replace the default system drawn scrollbar entirely and so you will have to specify a lot of different properties yourself to make up all the pieces.
The different selectors are described here:
http://css-tricks.com/custom-scrollbars-in-webkit/
Also some info here:
http://beautifulpixels.com/goodies/create-custom-webkit-scrollbar/
So for a quick example, if you add this into moi.css you will get a weird looking red and yellow 2 color scrollbar:
::-webkit-scrollbar {
background:red;
}
::-webkit-scrollbar-thumb {
background:yellow;
}
- Michael
|