<!DOCTYPE html>
<
html
lang
=
"zh-cmn-Hans"
>
<
head
>
<
meta
charset
=
"utf-8"
/>
<
title
>scrollbar-base-color_CSS参考手册_web前端开发参考手册系列</
title
>
<
meta
name
=
"author"
content
=
"Joy Du(飘零雾雨), dooyoe@gmail.com, www.doyoe.com"
/>
<
style
>
div{overflow:scroll;width:200px;height:80px;margin-top:20px;}
.test{scrollbar-base-color:#f00;}
.test2{scrollbar-base-color:#080;}
.test3{scrollbar-base-color:#630;}
</
style
>
</
head
>
<
body
>
<
div
class
=
"test"
>自定义滚动条整体的基准色调。你将在IE浏览器下看到滚动条的整体的基准色调为红色</
div
>
<
div
class
=
"test2"
>自定义滚动条整体的基准色调。你将在IE浏览器下看到滚动条的整体的基准色调为绿色</
div
>
<
div
class
=
"test3"
>自定义滚动条整体的基准色调。你将在IE浏览器下看到滚动条的整体的基准色调为棕色</
div
>
</
body
>
</
html
>