EN
本內容沒有您的語言版本,但有英文版本。

stop-color property

Sets or retrieves a value that indicates what color to use at the current gradient stop.

Scalable Vector Graphics: Gradients and Patterns, Section 13.2.4Internet Explorer 9

Syntax

stop-color: currentColor | inherit

Property values

currentColor

Indicates that painting at this gradient stop is done using the current animated value of the color specified by the color property. This enables sharing of color attributes between parent grammars such as other, non-SVG, XML. This keyword enables you to define a style in your HTML that sets the color property. The keyword then passes that style to the client so that your SVG text will draw in the same color.

inherit

Indicates that the property takes the same computed value as the property for the element's parent.

CSS information

Applies To‘stop’ elements
Mediavisual
Inheritedno
Initial Valueblack

Standards information

See also

CSSStyleDeclaration
currentStyle
style
SVGStopElement

 

 

顯示:
© 2014 Microsoft