- Angular UI Development with PrimeNG
- Sudheer Jonna Oleg Varaksin
- 96字
- 2021-07-15 17:33:01
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.
推薦閱讀
- Python概率統(tǒng)計(jì)
- Visual FoxPro 程序設(shè)計(jì)
- Mastering Natural Language Processing with Python
- INSTANT CakePHP Starter
- 網(wǎng)絡(luò)爬蟲原理與實(shí)踐:基于C#語言
- C語言程序設(shè)計(jì)教程
- ASP.NET Core 2 Fundamentals
- Windows Phone 7.5:Building Location-aware Applications
- 深入剖析Java虛擬機(jī):源碼剖析與實(shí)例詳解(基礎(chǔ)卷)
- INSTANT Silverlight 5 Animation
- C# Multithreaded and Parallel Programming
- Arduino計(jì)算機(jī)視覺編程
- Python從入門到精通(第3版)
- C/C++代碼調(diào)試的藝術(shù)(第2版)
- MySQL從入門到精通