- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Template:Sticky"
Jump to navigation
Jump to search
(Created page with "<includeonly><div style="position: -webkit-sticky; position: sticky; top: 0;">{{{1}}}</div></includeonly><noinclude> Make a sticky block element. ==Usage== <pre>{{Sticky|Fil...") |
m (Keep sticky always on top) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div style="position: -webkit-sticky; position: sticky; top: 0;">{{{1}}}</div></includeonly><noinclude> | + | <includeonly><div style="position: -webkit-sticky; position: sticky; top: 0; z-index: calc(infinity);">{{{1}}}</div></includeonly><noinclude> |
Make a sticky block element. | Make a sticky block element. | ||
==Usage== | ==Usage== | ||
+ | <div style="height: 2000px;"> | ||
<pre>{{Sticky|[[File:RainySeason2020E-4Map.png|500px]]}}</pre> | <pre>{{Sticky|[[File:RainySeason2020E-4Map.png|500px]]}}</pre> | ||
+ | ---- | ||
{{Sticky|[[File:RainySeason2020E-4Map.png|500px]]}} | {{Sticky|[[File:RainySeason2020E-4Map.png|500px]]}} | ||
+ | </div> | ||
</noinclude> | </noinclude> |