You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Linear-gradient: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 28: | Line 28: | ||
<pre><div style="{{Linear-gradient|left bottom|#ff0000, #0000ff}}">Example</div></pre> | <pre><div style="{{Linear-gradient|left bottom|#ff0000, #0000ff}}">Example</div></pre> | ||
<div style="{{Linear-gradient|left | <div style="{{Linear-gradient|left|#ff0000, #0000ff}}">Example</div> |
Revision as of 11:47, 6 November 2014
Used to make a background with a linear gradient.
Syntax
{{Template:Linear-gradients|(Direction)|(color 1), (color2)}}
- The possible directions are:
| top = to bottom | bottom = to top | left = to right | right = to left | top left | left top = to bottom right | top right | right top = to bottom left | bottom left | left bottom = to top right | bottom right | right bottom = to top left
- Don't add the text past the "="
Example
<div style="{{Linear-gradient|left bottom|#ff0000, #0000ff}}">Example</div>
Example