Template:Background: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
<div style="background: linear-gradient(180deg, rgb(38,38,38) 0%, rgba(38,38,38,.0) 100%); width: 100%; height: {{{gradient-height|600px}}}; position: absolute; z-index: 1;"></div> | <div style="background: linear-gradient(180deg, rgb(38,38,38) 0%, rgba(38,38,38,.0) 100%); width: 100%; height: {{{gradient-height|600px}}}; position: absolute; z-index: 1;"></div> | ||
<div style="width: 100%; display: flex; justify-content: center; pointer-events: none; user-select: none; position: absolute; z-index: 0;"> | <div style="width: 100%; display: flex; justify-content: center; pointer-events: none; user-select: none; position: absolute; z-index: 0;"> | ||
{{{ | {{{img|}}} | ||
<div style="background: linear-gradient(0deg, rgb({{{gradient-color|38,38,38}}}) 0%, rgba({{{gradient-color|38,38,38}}},0) 100%); width: 100%; height: {{{gradient-height|600px;}}} position: absolute; z-index: 1; bottom: 0.5em;"></div> | <div style="background: linear-gradient(0deg, rgb({{{gradient-color|38,38,38}}}) 0%, rgba({{{gradient-color|38,38,38}}},0) 100%); width: 100%; height: {{{gradient-height|600px;}}} position: absolute; z-index: 1; bottom: 0.5em;"></div> | ||
</div> | </div> | ||
</div></includeonly></onlyinclude>{{documentation}} | </div></includeonly></onlyinclude>{{documentation}} |
Revision as of 07:14, 9 December 2022
The above documentation is transcluded from Template:Background/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.