Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
Deprecated
This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
The -ms-scrollbar-3dlight-color
CSS property is a Microsoft extension specifying the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.
Initial value | depends on user agent |
---|---|
Applies to | all elements |
Inherited | yes |
Computed value | as specified |
Animation type | discrete |
<color>
The color of the top and left edges of the scroll box and scroll arrows of the scroll bar.
<color>where
<color> = <rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>
where
<rgb()> = rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )
<rgba()> = rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? ) | rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )
<hsl()> = hsl( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )
<hsla()> = hsla( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsla( <hue>, <percentage>, <percentage>, <alpha-value>? )where
<alpha-value> = <number> | <percentage>
<hue> = <number> | <angle>
The following example shows how to create a style rule that sets the -ms-scrollbar-3dlight-color
property for a <textarea>
element.
Code example: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/scrollbarColor.htm
<!DOCTYPE html> <html> <head> <title>scrollbar-3dlight-color</title> <style> .Blue3dLight { -ms-scrollbar-3dlight-color: blue; scrollbar-3dlight-color: blue; /* Use the standard when available. */ } </style> </head> <body> <textarea class="Blue3dLight">The top and left edges of the thumb and button-face elements in the scroll bar for this element will be blue.</textarea> </body> </html>
Not part of any specification.
No compatibility data found. Please contribute data for "css.properties.-ms-scrollbar-3dlight-color" (depth: 1) to the MDN compatibility data repository.
In Windows Internet Explorer 8, the -ms-scrollbar-3dlight-color
attribute is an extension to CSS, and can be used as a synonym for scrollbar-3dlight-color
in IE8 Standards Mode.
The scroll box is the rectangular 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. CSS enables scrolling on all objects through the overflow
property. These objects are not listed in the Applies To list for this property.