An object representing a top-to-bottom linear gradient

Attribute

Description

start
string

A string describing the color at the top of the linear gradient. Can be a hex code or a CSS color name.

end
string

A string describing the color at the bottom of the linear gradient. Can be a hex code or a CSS color name.