Template:Lr: Difference between revisions

From The Toaq Wiki
(Created page with "<noinclude> Creates an inline flex element that pushes its contents to the left and right, respectively. Eg. <pre> <span class="display: inline-box; width: 200px; border: 1px solid black;"> {{lr|left|right}} </span> </pre> <blockquote> <span class="display: inline-box; width: 200px; border: 1px solid black;"> {{lr|left|right}} </span> </blockquote> </noinclude><includeonly ><span style="display: inline-flex"; width: 100%;" ><span>{{{1}}}</span><span class="margin: 0 auto...")
 
mNo edit summary
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-box; width: 200px; border: 1px solid black;">
<span class="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-box; width: 200px; border: 1px solid black;">
<span class="display: inline-block; width: 200px; border: 1px solid black;">
{{lr|left|right}}
{{lr|left|right}}
</span>
</span>

Revision as of 19:14, 1 December 2023

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

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

leftright