mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-22 07:04:43 +00:00
edits
This commit is contained in:
parent
1a7e687691
commit
e836e3f9a0
1 changed files with 13 additions and 3 deletions
|
|
@ -54,7 +54,7 @@
|
|||
<div data-role="header" data-position="inline">
|
||||
<a href="index.html" data-icon="delete">Cancel</a>
|
||||
<h1>Edit Contact</h1>
|
||||
<a href="index.html" data-icon="check"</a>
|
||||
<a href="index.html" data-icon="check">Save</a>
|
||||
</div>
|
||||
</code></pre>
|
||||
|
||||
|
|
@ -66,8 +66,18 @@
|
|||
</div>
|
||||
<p>Buttons automatically adapt to the swatch color of the bar they sit in, so a link in a header bar with the "a" color will also be styled as "a" colored buttons. It's simple to make a button visually stand out — here, we add the <code>data-theme</code> attribute and set the color swatch for the button to "b" to make the "Save" button pop.</p>
|
||||
|
||||
<pre><div data-role="header" data-position="inline">
|
||||
<a href="index.html" data-icon="delete">Cancel</a>
|
||||
<pre><code>
|
||||
<div data-role="header" data-position="inline">
|
||||
<a href="index.html" data-icon="delete">Cancel</a>
|
||||
<h1>Edit Contact</h1>
|
||||
<a href="index.html" data-icon="check" data-theme="b">Save</a>
|
||||
</div>
|
||||
</div>
|
||||
</code></pre>
|
||||
|
||||
<pre><code></code>
|
||||
<div data-role="header" data-position="inline">
|
||||
<a href="index.html" data-icon="delete">Cancel</a>
|
||||
<h1>Edit Contact</h1>
|
||||
<a href="index.html" data-icon="check" data-theme="b">Save</a>
|
||||
</div></pre>
|
||||
|
|
|
|||
Loading…
Reference in a new issue