linear-gradient()

(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

Category Extended Functions

Expresses the linear gradient. It can be specified as a value of background-image.

linear-gradient( [ [ <angle> | to <side-or-corner> ], ]? <color-stop>[, <color-stop> ]+ )
<side-or-corner> = [ left | right ] || [ top | bottom ]
<color-stop> = <color> [ <percentage> | <length> ]?

Arguments have the following meanings.

<angle>Specifies the angle of the gradient. 0deg indicates top, 90deg indicates right.
<side-or-corner>Specifies the angle of the gradient by keywords. to top, to right, to bottom and to left indicate 0deg, 90deg, 180deg and 270deg for each.
<color-stop>Specifies the color, percent and length for the gradient.

[CSS3-Images] Linear Gradients: the ‘linear-gradient()’ notation

This function is not available with AH Formatter V6.3 Lite.

Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: