mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
edit
This commit is contained in:
parent
a3128c88d9
commit
7ea792be0d
1 changed files with 3 additions and 3 deletions
|
|
@ -57,15 +57,15 @@
|
|||
</fieldset>
|
||||
|
||||
|
||||
<p>And, grid blocks can adopt presentation styles from the theming system — we've added a height and color swatch reference to the grid blocks.</p>
|
||||
<p>And, grid blocks can adopt presentation styles from the <a href="../themes/index.html">theming system</a> — by adding a height and color swatch reference to the grid blocks, we can achieve this style appearance:</p>
|
||||
|
||||
<div class="ui-grid-a">
|
||||
<div class="ui-block-a"><div class="ui-bar ui-bar-e" style="height:120px">Block A</div></div>
|
||||
<div class="ui-block-b"><div class="ui-bar ui-bar-e" style="height:120px">Block B</div></div>
|
||||
</div><!-- /grid-a -->
|
||||
|
||||
<h2>Three column grids</h2>
|
||||
<p>There is a second grid for a 3 column layout (33/33/33%) that is similar in structure but uses <code>class=grid-b</code> on the parent and 3 child wrappers, each with <code>block-a/b/c</code> for the column child containers.</p>
|
||||
<h2>Three-column grids</h2>
|
||||
<p>The other grid layout configuration uses <code>class=ui-grid-b</code> on the parent, and 3 child container elements, each with its respective <code>ui-block-a/b/c</code> class, to create a three-column layout (33/33/33%).</p>
|
||||
|
||||
<pre><code>
|
||||
<div class="ui-grid-a">
|
||||
|
|
|
|||
Loading…
Reference in a new issue