官术网_书友最值得收藏!

Basic principles

The layout container should have the ui-g style class. Children elements of the layout container become columns when they are prefixed with ui-g-* where * is any number from 1 to 12. The number expresses the taken space of 12 available units. When the number of columns exceeds 12, columns wrap to the next line:

<div class="ui-g">
<div class="ui-g-2">2</div>
<div class="ui-g-4">4</div>
<div class="ui-g-6">6</div>
<div class="ui-g-8">8</div>
<div class="ui-g-4">4</div>
</div>

The following layout has two lines (rows):

The same two-row layout is also possible with two ui-g containers:

<div class="ui-g">
<div class="ui-g-2">2</div>
<div class="ui-g-4">4</div>
<div class="ui-g-6">6</div>
</div>
<div class="ui-g">
<div class="ui-g-8">8</div>
<div class="ui-g-4">4</div>
</div>

Generally, n containers with the ui-g style class creates n rows.

主站蜘蛛池模板: 温泉县| 天津市| 临沧市| 穆棱市| 新巴尔虎左旗| 洞口县| 兴业县| 安多县| 新乡县| 海安县| 绥棱县| 石柱| 宜宾市| 海阳市| 策勒县| 麻江县| 湘潭市| 晋州市| 遵义市| 常熟市| 普安县| 尉氏县| 论坛| 灵宝市| 东光县| 榆社县| 苍山县| 罗甸县| 怀来县| 栾川县| 皮山县| 焉耆| 永川市| 广德县| 钦州市| 峨眉山市| 侯马市| 阜新市| 甘南县| 宁城县| 邻水|