You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Radial-gradient

From MafiaWiki
Revision as of 09:50, 8 November 2014 by Wgeurts (talk | contribs) (→‎Example)
Jump to navigation Jump to search

This template is used to make a radial gradient.

Syntax

{{Radial-gradient
|(Position)
|(Shape) [size]
|(Color1) [Stop], (Color2) [Stop], (Color...) [Stop...]
}}
  • The position can be any CSS position value.
  • Shapes are:
    • elllipse
    • circle
  • Sizes are:
    • farthest-corner
    • closest-corner
    • farthest-side
    • closest-side


Example

<div style="{{radial-gradient
|100px center
|ellipse farthest-corner
|#ffdddd, #ddddff, #ddffdd, #ffaabb 10%}}">
*Example
*Example
*Example
*Example
*Example
*Example</div>
  • Example
  • Example
  • Example
  • Example
  • Example
  • Example