scrollbar-shadow-color
语法
- scrollbar-shadow-color:<color>
- 默认值:threedshadow
- 适用于:除table系外的所有块级元素
- 继承性:有
- 动画性:是
- 计算值:指定值
取值
- <color>:指定颜色。
说明
检索或设置对象滚动条3d阴影边框(threedshadow)的外观颜色。
- 对应的脚本特性为scrollbarShadowColor。
兼容性
Values | IE |
---|---|
Basic Support | 6.0+ |
示例
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<style>
div{overflow:scroll;width:200px;height:100px;margin-top:20px;}
.test{scrollbar-shadow-color:#f00;}
.test2{scrollbar-shadow-color:#080;}
.test3{scrollbar-shadow-color:#630;}
</style>
</head>
<body>
<div class="test">自定义滚动条3d阴影边框(threedshadow)的外观颜色。你将在IE浏览器下看到滚动条的3d阴影边框(threedshadow)变成红色</div>
<div class="test2">自定义滚动条3d阴影边框(threedshadow)的外观颜色。你将在IE浏览器下看到滚动条的3d阴影边框(threedshadow)变成绿色</div>
<div class="test3">自定义滚动条3d阴影边框(threedshadow)的外观颜色。你将在IE浏览器下看到滚动条的3d阴影边框(threedshadow)变成棕色</div>
</body>
</html>