Template:Text-outline/doc

From ytptenniswiki
Revision as of 01:18, 20 May 2025 by InfinitySnapz (talk | contribs) (Created page with "{{Documentation subpage}} == Usage == Insert this template within a style tag of any element: <code><nowiki>{{text-outline | stroke width | [blur radius] | [#color]}}</nowiki></code> When <code>blur radius</code> or <code>#color</code> are used, <code>stroke width</code> ''must'' be specified; e.g. <code>1px</code>. Examples: * <code><nowiki><span style="{{text-outline|1px|2px|#FFFF00}}">Down to the porshrop</span></nowiki></code> <span style="{{text-outline|1px|1px|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Insert this template within a style tag of any element:

{{text-outline | stroke width | [blur radius] | [#color]}}

When blur radius or #color are used, stroke width must be specified; e.g. 1px.

Examples:

  • <span style="{{text-outline|1px|2px|#FFFF00}}">Down to the porshrop</span>

Down to the porshrop

  • <span style="{{text-outline|1px|0px|#00FF00}}">Down to the streep</span>

Down to the streep

  • <span style="{{text-outline|5px|0px|#FF0000}}">'''Down to the porshrop'''</span>

Down to the porshrop

  • <span style="background: #FFF; color: #FFF; {{text-outline|0.5px|0.5px|#787878}}">To the porshrop family treep</span>

To the porshrop family treep