Difference between revisions of "Template:Contrasted"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <onlyinclude><{{{type|span}}} class="contrasted" style="{{{style|}}}" | + | <onlyinclude><{{{type|span}}} class="contrasted" style="background={{{background|inherit}}};{{{style|}}}" |
>{{{1}}}</{{{type|span}}}></onlyinclude><noinclude> | >{{{1}}}</{{{type|span}}}></onlyinclude><noinclude> | ||
Makes a piece of text either black or white (pixel by pixel) depending on what contrasts better with the background. | Makes a piece of text either black or white (pixel by pixel) depending on what contrasts better with the background. |
Revision as of 05:10, 13 June 2019
{{{1}}} Makes a piece of text either black or white (pixel by pixel) depending on what contrasts better with the background.