mirror of
https://github.com/picocss/pico.git
synced 2025-05-04 22:57:12 -04:00
Update forms documentation for input-group
more examples here
This commit is contained in:
parent
17064af2e9
commit
bb48582399
1 changed files with 26 additions and 0 deletions
|
@ -254,6 +254,32 @@
|
|||
<<b>input</b> <i>type</i>=<u>"color"</u> <i>id</i>=<u>"color"</u> <i>name</i>=<u>"color"</u> <i>value</i>=<u>"#0eaaaa"</u>>
|
||||
</<b>label</b>></code></pre>
|
||||
|
||||
</footer>
|
||||
</article>
|
||||
</article>
|
||||
<p>You can combine inputs and buttons to an <code>input-group</code>.</p>
|
||||
<article aria-label="input group example">
|
||||
<div class="input-group">
|
||||
<a role="button" class="contrast">
|
||||
https://picocss.com/
|
||||
</a>
|
||||
<input type="text" value="docs/forms.html" />
|
||||
<a role="button" class="contrast">
|
||||
🔒
|
||||
</a>
|
||||
</div>
|
||||
<footer class="code">
|
||||
|
||||
<pre><code><<b>div</b>> <i>class</i>=<u>"="input-group"</u>>
|
||||
<<b>a</b> <i>role</i>=<u>"="button"</u> <i>class</i>=<u>"="contrast"</u>>
|
||||
https://picocss.com/
|
||||
<<b>/a</b>>
|
||||
<<b>input <i>type</i>=<u>"="text"</u> <i>value</i>=<u>"="docs/forms.html"</u> />
|
||||
<<b>a <i>role</i>=<u>"="button"</u> <i>class</i>=<u>"="contrast"</u>>
|
||||
🔒
|
||||
<<b>/a</b>>
|
||||
<<b>/div</b>></code></pre>
|
||||
|
||||
</footer>
|
||||
</article>
|
||||
</section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue