case classLinearGradient(direction: String, colors: ColorStop*) extends Gradient with Product with Serializable
The CSS linear-gradient() function creates an Image which represents a
linear gradient of colors. The result of this function is an object of the
CSS Gradient data type. Like any other gradient, a CSS linear gradient is
not a CSS Color but an image with no intrinsic dimensions; that is, it
has neither natural or preferred size, nor ratio. Its concrete size will
match the one of the element it applies to.
MDN
Linear Supertypes
Serializable, Serializable, Product, Equals, Gradient, Image, AnyRef, Any
The CSS linear-gradient() function creates an Image which represents a linear gradient of colors. The result of this function is an object of the CSS Gradient data type. Like any other gradient, a CSS linear gradient is not a CSS Color but an image with no intrinsic dimensions; that is, it has neither natural or preferred size, nor ratio. Its concrete size will match the one of the element it applies to.
MDN