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

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.

主站蜘蛛池模板: 斗六市| 远安县| 四平市| 太谷县| 甘洛县| 刚察县| 舞阳县| 溧水县| 惠水县| 上虞市| 健康| 峨眉山市| 抚松县| 柳江县| 德惠市| 屏山县| 诏安县| 闽清县| 内黄县| 内江市| 遵义市| 清水县| 盘山县| 呼图壁县| 新沂市| 林州市| 翁源县| 蓬溪县| 邛崃市| 子洲县| 息烽县| 莒南县| 永和县| 青浦区| 左云县| 左云县| 和田市| 安塞县| 巩义市| 都昌县| 乌拉特后旗|