Difference between revisions of "Template:Banners"
Jump to navigation
Jump to search
(Created page with "{{#masterdata:MyPage|}}{{#css: table.banners { width: 300px; overflow: auto; } table.banners > ul > li > img { width: 100%; height: auto; } }} <table class="ba...") |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#masterdata:MyPage|}}{{#css: | {{#masterdata:MyPage|}}{{#css: | ||
div.banners { | |||
width: 300px; | width: 300px; | ||
height: 480px; | |||
overflow: auto; | overflow: auto; | ||
-ms-overflow-style: none; /* Internet Explorer 10+ */ | |||
scrollbar-width: none; /* Firefox */ | |||
} | } | ||
div.banners::-webkit-scrollbar { | |||
display: none; /* Safari and Chrome */ | |||
} | |||
div.banners > ul > li { | |||
list-style: none; | |||
} | |||
div.banners > ul > li > img { | |||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
} | } | ||
}} | }} | ||
< | <div class="banners"> | ||
<ul>{{#var:banners list|}}</ul> | <ul>{{#var:banners list|}}</ul> | ||
</ | </div> |