mdgriffith/stylish-elephants/5.0.1

NOTE: this package is not compatible with Elm 0.19.1

Element.Background

color : Color -> Attr decorative msg
gradient : Float -> List Color -> Attribute msg

A linear gradient.

First you need to specify what direction the gradient is going by providing an angle in radians. 0 is up and pi is down.

The colors will be evenly spaced.

image : String -> Attribute msg

A centered background image that keeps it's natural propostions, but scales to fit the space.

fittedImage : String -> Attribute msg

Scale the image to fit the size of the element while maintaining proportions and cropping the overflow.

tiled : String -> Attribute msg

Tile an image in the x and y axes.

tiledX : String -> Attribute msg

Tile an image in the x axis.

tiledY : String -> Attribute msg

Tile an image in the y axis.