<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://horizonffxi.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ALinear-gradient</id>
	<title>Template:Linear-gradient - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://horizonffxi.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ALinear-gradient"/>
	<link rel="alternate" type="text/html" href="https://horizonffxi.wiki/w/index.php?title=Template:Linear-gradient&amp;action=history"/>
	<updated>2026-04-30T12:34:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://horizonffxi.wiki/w/index.php?title=Template:Linear-gradient&amp;diff=2919&amp;oldid=prev</id>
		<title>Garnet-HorizonXI (Fandom): Created page with &quot;&lt;includeonly&gt;background-image: -moz-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -o-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -webkit-linear-gradient({{{1|}}}, {{{2|}}}); background-image: linear-gradient({{#switch: {{{1|}}} | 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 =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://horizonffxi.wiki/w/index.php?title=Template:Linear-gradient&amp;diff=2919&amp;oldid=prev"/>
		<updated>2023-02-14T04:50:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;background-image: -moz-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -o-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -webkit-linear-gradient({{{1|}}}, {{{2|}}}); background-image: linear-gradient({{#switch: {{{1|}}} | 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 =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;background-image: -moz-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -o-linear-gradient({{{1|}}}, {{{2|}}}); background-image: -webkit-linear-gradient({{{1|}}}, {{{2|}}}); background-image: linear-gradient({{#switch: {{{1|}}}&lt;br /&gt;
| top = to bottom&lt;br /&gt;
| bottom = to top&lt;br /&gt;
| left = to right&lt;br /&gt;
| right = to left&lt;br /&gt;
| top left&lt;br /&gt;
| left top = to bottom right&lt;br /&gt;
| top right&lt;br /&gt;
| right top = to bottom left&lt;br /&gt;
| bottom left&lt;br /&gt;
| left bottom = to top right&lt;br /&gt;
| bottom right&lt;br /&gt;
| right bottom = to top left&lt;br /&gt;
| #default = {{{1}}}&lt;br /&gt;
}}, {{{2|}}});&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
Use within a CSS style tag. The template uses the &amp;lt;code&amp;gt;background-image&amp;lt;/code&amp;gt; property.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;div style=&amp;quot;{{Linear-gradient | start position | #color [stop], #color [stop][, #color [stop], ...] }}&amp;quot;&amp;gt;Lorem ipsum...&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;start position&amp;lt;/code&amp;gt; – Mandatory. Specify a start point: &amp;lt;code&amp;gt;left&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;top&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;right&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bottom&amp;lt;/code&amp;gt;, or a combination of two of each, e.g. &amp;lt;code&amp;gt;top left&amp;lt;/code&amp;gt;. This provides eight starting points.&lt;br /&gt;
#&amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt; – The first two colors are mandatory. You can define any number of additional colors, separated with commas.&lt;br /&gt;
#&amp;lt;code&amp;gt;stop&amp;lt;/code&amp;gt; – Optional. You can specify a stop position for each color using a percentage (e.g. 45%) or pixels (e.g. 60px).&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;div style=&amp;quot;{{Linear-gradient|left|#ffdddd, #ddddff}}&amp;quot;&amp;gt;Lorem ipsum...&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{Linear-gradient|left|#ffdddd, #ddddff}}&amp;quot;&amp;gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;div style=&amp;quot;{{Linear-gradient|left|#ffdddd, #ddffdd 50%, #ddddff}}&amp;quot;&amp;gt;Lorem ipsum...&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{Linear-gradient|left|#ffdddd, #ddffdd 50%, #ddddff}}&amp;quot;&amp;gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;div style=&amp;quot;{{Linear-gradient|top|#ffdddd, #ddddff}}&amp;quot;&amp;gt;Lorem ipsum...&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;{{Linear-gradient|top|#ffdddd, #ddddff}}&amp;quot;&amp;gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garnet-HorizonXI (Fandom)</name></author>
	</entry>
</feed>