Difference between revisions of "Template:ContentGrid"

From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
Jump to navigationJump to search
(Created page with "<templatestyles src="ContentGrid/styles.css" /> <div class="wiki-template-contentgrid" style="margin-{{dir|{{pagelang}}|left|right}}: 1em; grid-template-columns: repeat(auto-f...")
 
Line 1: Line 1:
<templatestyles src="ContentGrid/styles.css" />
+
<div class="wiki-template-contentgrid" style="margin-right: 1em; grid-template-columns: repeat(auto-fit, minmax({{{grid-columns-min-max|300px}}}, 1fr)); grid-gap: {{{grid-gap|10px}}}; grid-auto-rows: minmax({{{grid-rows-min-max|100px}}}, auto); width: {{{width|auto}}};">{{{content}}}</div>
<div class="wiki-template-contentgrid" style="margin-{{dir|{{pagelang}}|left|right}}: 1em; grid-template-columns: repeat(auto-fit, minmax({{{grid-columns-min-max|300px}}}, 1fr)); grid-gap: {{{grid-gap|10px}}}; grid-auto-rows: minmax({{{grid-rows-min-max|100px}}}, auto); width: {{{width|auto}}};">{{{content}}}</div>
 

Revision as of 02:49, March 27, 2020

{{{content}}}