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

From Encyclopedia Dramatica
This is an old revision of this page, as edited by imported>TabbyGarf at 10:17, 25 March 2021. It may differ significantly from the current revision.
Jump to navigationJump to search

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