This page is In Progress

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

fill

Summary

The attribute fill specifies the filling color or the behavior of an animation after it has finished.

Applies to ?
### Context: Shapes and Text

Fill defines the color of a surface of text or a shape.

Syntax

fill: none | currentColor | funciri | inherit

This attribute has a corresponding CSS property.

Standards information

Context: Animation Elements

Fill specifies whether after an animation the animated value should be preserved or removed from the element.

Syntax

fill: remove | freeze

See also

Related pages

Attributions