Difference between revisions of "Template:Gradient"
Line 1: | Line 1: | ||
− | linear-gradient( | + | {{#if:{{{h|}}}|background-image:-ms-linear-gradient(left,{{{1|#FFFFFF}}} {{#if:{{{3|}}}|{{#expr:{{{3|0}}}*100}}%}},{{{2|#DCDCDC}}} {{#if:{{{4|}}}|{{#expr:{{{4|1}}}*100}}%}});background-image:-moz-linear-gradient(left,{{{1|#FFFFFF}}} {{#if:{{{3|}}}|{{#expr:{{{3|0}}}*100}}%}},{{{2|#DCDCDC}}} {{#if:{{{4|}}}|{{#expr:{{{4|1}}}*100}}%}});background-image:-o-linear-gradient(left,{{{1|#FFFFFF}}} {{#if:{{{3|}}}|{{#expr:{{{3|0}}}*100}}%}},{{{2|#DCDCDC}}} {{#if:{{{4|}}}|{{#expr:{{{4|1}}}*100}}%}});background-image:-webkit-gradient(linear,left top,right top,color-stop({{{3|0}}},{{{1|#FFFFFF}}}),color-stop({{{4|1}}},{{{2|#DCDCDC}}}));background-image:-webkit-linear-gradient(left,{{{1|#FFFFFF}}} {{#if:{{{3|}}}|{{#expr:{{{3|0}}}*100}}%}},{{{2|#DCDCDC}}} {{#if:{{{4|}}}|{{#expr:{{{4|1}}}*100}}%}});background-image:linear-gradient(left,{{{1|#FFFFFF}}} {{#if:{{{3|}}}|{{#expr:{{{3|0}}}*100}}%}},{{{2|#DCDCDC}}} {{#if:{{{4|}}}|{{#expr:{{{4|1}}}*100}}%}})|background:-ms-linear-gradient(top,{{{1|#FFFFFF}}} {{#if:{{{3|}}}|{{#expr:{{{3|0}}}*100}}%}},{{{2|#DCDCDC}}} {{#if:{{{4|}}}|{{#expr:{{{4|1}}}*100}}%}});background:-moz-linear-gradient(top,{{{1|#FFFFFF}}} {{#if:{{{3|}}}|{{#expr:{{{3|0}}}*100}}%}},{{{2|#DCDCDC}}} {{#if:{{{4|}}}|{{#expr:{{{4|1}}}*100}}%}});background:-o-linear-gradient(top,{{{1|#FFFFFF}}} {{#if:{{{3|}}}|{{#expr:{{{3|0}}}*100}}%}},{{{2|#DCDCDC}}} {{#if:{{{4|}}}|{{#expr:{{{4|1}}}*100}}%}});background:-webkit-gradient(linear,left top,left bottom,color-stop({{{3|0}}},{{{1|#FFFFFF}}}),color-stop({{{4|1}}},{{{2|#DCDCDC}}}));background:-webkit-linear-gradient(top,{{{1|#FFFFFF}}} {{#if:{{{3|}}}|{{#expr:{{{3|0}}}*100}}%}},{{{2|#DCDCDC}}} {{#if:{{{4|}}}|{{#expr:{{{4|1}}}*100}}%}});background:linear-gradient(top,{{{1|#FFFFFF}}} {{#if:{{{3|}}}|{{#expr:{{{3|0}}}*100}}%}},{{{2|#DCDCDC}}} {{#if:{{{4|}}}|{{#expr:{{{4|1}}}*100}}%}})}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 03:20, 9 November 2017
background:-ms-linear-gradient(top,#FFFFFF ,#DCDCDC );background:-moz-linear-gradient(top,#FFFFFF ,#DCDCDC );background:-o-linear-gradient(top,#FFFFFF ,#DCDCDC );background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#FFFFFF),color-stop(1,#DCDCDC));background:-webkit-linear-gradient(top,#FFFFFF ,#DCDCDC );background:linear-gradient(top,#FFFFFF ,#DCDCDC )