This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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