Template documentation (for the above template, sometimes hidden or invisible)


This template is a shortcut for producing linear gradient background. It generates the CSS for various browsers.


Insert this template within a style tag of any block-style element:

{{border-radius | direction, color-stop1, color-stop2, ...]}}

  • Direction values include: top, bottom, left and right.
  • color-stop# value is comprised of a <color> value, followed by an optional stop position (either a percentage or a <length> along the gradient's axis).

Visit Template:CSSGradient/doc to edit this text! (How does this work?) (Refresh this text - why?)

Community content is available under CC-BY-SA unless otherwise noted.