Difference between revisions of "Template:Flexbox"

From EPrints Documentation
Jump to: navigation, search
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<div style="display: {{#if:{{{inline|}}}|inline-flex|flex}}; flex-wrap: {{{wrap|wrap}}}; justify-content: {{{justify|flex-start}}}; align-items: {{{align|stretch}}}; gap: {{{gap|10px}}}; {{{css|{{{style|}}}}}}" class="{{{class|{{{cssclass|}}}}}}" {{#if:{{{id|}}}|id="{{{id}}}"}}><!--
+
<div style="display: -webkit-flex; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 10px;">
−
-->{{#fornumargs: _key | _val |<!--
+
{{{content|}}}
−
  -->{{#if:{{#var:_val}}|<!--
+
</div>
−
    --><div style="flex: {{{item-flex|1}}}; {{{item-css|}}}">{{#var:_val}}</div><!--
 
−
  -->}}<!--
 
−
-->}}<!--
 
−
--></div>
 

Latest revision as of 09:03, 5 October 2026