Difference between revisions of "Template:Contrasted"

From Dwaia Wiki
Jump to navigation Jump to search
(Created page with "<onlyinclude><{{{type|span}}} style= "background: inherit; background-clip: text; color: transparent; filter: grayscale(100%) contrast(10000%) invert(100%);{{{s...")
 
Line 1: Line 1:
<onlyinclude><{{{type|span}}} style=
+
<onlyinclude><{{{type|span}}} class="contrasted" style="{{{style|}}}"
  "background: inherit;
 
    background-clip: text;
 
    color: transparent;
 
    filter: grayscale(100%) contrast(10000%) invert(100%);{{{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:07, 13 June 2019

{{{1}}} Makes a piece of text either black or white (pixel by pixel) depending on what contrasts better with the background.