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

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.

主站蜘蛛池模板: 临城县| 合山市| 桐梓县| 平江县| 望江县| 昌乐县| 安岳县| 海南省| 玛沁县| SHOW| 忻州市| 邯郸市| 常熟市| 闵行区| 海淀区| 丘北县| 建始县| 平和县| 台湾省| 运城市| 高台县| 信丰县| 巴楚县| 宣恩县| 澎湖县| 宁化县| 错那县| 大港区| 平度市| 新乡县| 沅江市| 吴川市| 新化县| 丹巴县| 陵川县| 安徽省| 临泉县| 巴东县| 博白县| 资阳市| 昭觉县|