-ms-scrollbar-shadow-color property

Specifies the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.

Syntax

-ms-scrollbar-shadow-color: variant

Property values

variant

A VARIANT that specifies or receives any color name or RGB values in the Color Table.

CSS information

Applies ToAll elements
Mediavisual
Inherited1
Initial Value

Standards information

There are no standards that apply here.

Remarks

The scroll box is the square box within a scroll bar that can be moved either up and down or left and right on a track to change the position of the content on the screen. The scroll arrows, located at each end of a scroll bar, are the square buttons containing the arrows that move the content on the screen in small increments, either up and down or left and right.

This property applies to elements that display a scroll bar. Cascading Style Sheets (CSS) enable scrolling on all objects through the overflow property. These objects are not listed in the Applies To list for this property.

Examples

The following example shows how to create a style rule that sets the -ms-scrollbar-shadow-color property for a textArea element.


<!DOCTYPE html>

<html>
<head>
  <title>scrollbar-shadow-color</title>
  <style>
    .BlueShadow {
      scrollbar-shadow-color: blue;
    }
  </style>
</head>
<body>
  <textarea class="BlueShadow">The gutter elements in the scroll bar for this element will be blue.</textarea>
</body>
</html>

See also

CSSStyleDeclaration
currentStyle
defaults
runtimeStyle
style
Reference
-ms-scrollbar-3dlight-color
-ms-scrollbar-arrow-color
-ms-scrollbar-base-color
-ms-scrollbar-darkshadow-color
-ms-scrollbar-face-color
-ms-scrollbar-highlight-color
-ms-scrollbar-track-color

 

 

Show:
© 2014 Microsoft