Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Gradlinear: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>Schnookums
documentation
 
imported>TabbyGarf
1 revision imported
 
(12 intermediate revisions by 3 users not shown)
(No difference)

Latest revision as of 10:17, 25 March 2021

background:-webkit-linear-gradient({{{1}}},{{{2}}});background:-o-linear-gradient({{{1}}},{{{2}}});background:-moz-linear-gradient({{{1}}},{{{2}}});background:linear-gradient({{{1}}},{{{2}}});

Usage

Example

<div style="{{gradlinear|gray|white}}height:100px;width:100px;">DEFAULT</div>
<div style="{{gradlinear|gray|white|to=right}}height:100px;width:100px;">LEFT TO RIGHT</div>
<div style="{{gradlinear|gray|white|to=left}}height:100px;width:100px;">RIGHT TO LEFT</div>
<div style="{{gradlinear|gray|white|to=bottom}}height:100px;width:100px;">TOP TO BOTTOM</div>
<div style="{{gradlinear|gray|white|to=top}}height:100px;width:100px;">BOTTOM TO TOP</div>

Output

DEFAULT
LEFT TO RIGHT
RIGHT TO LEFT
TOP TO BOTTOM
BOTTOM TO TOP