Template:Lr: Difference between revisions

From The Toaq Wiki
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
Creates an inline flex element that pushes its contents to the left and right, respectively. Eg.
Creates an inline flex element that pushes its contents to the left and right, respectively. Eg.
<pre>
<pre>
<span class="display: inline-block; width: 200px; border: 1px solid black;">
<span style="display: inline-block; width: 200px; border: 1px solid black;">
{{lr|left|right}}
{{lr|left|right}}
</span>
</span>
</pre>
</pre>
<blockquote>
<blockquote>
<span class="display: inline-block; width: 200px; border: 1px solid black;">
<span style="display: inline-block; width: 200px; border: 1px solid black;">
{{lr|left|right}}
{{lr|left|right}}
</span>
</span>
</blockquote>
</blockquote>
</noinclude><includeonly
</noinclude><includeonly
><span style="display: inline-flex"; width: 100%;"
><span style="display: inline-flex; width: 100%;"
><span>{{{1}}}</span><span class="margin: 0 auto;"></span><span>{{{2}}}</span></span></includeonly>
><span>{{{1}}}</span><span style="margin: 0 auto;">&nbsp;</span><span>{{{2}}}</span></span></includeonly>

Latest revision as of 19:22, 1 December 2023

Creates an inline flex element that pushes its contents to the left and right, respectively. Eg.

<span style="display: inline-block; width: 200px; border: 1px solid black;">
{{lr|left|right}}
</span>

left right