mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 10:26:13 -04:00
style(dropdowns): Better support for :focus
This commit is contained in:
parent
f7ed336ac0
commit
2906e37f7a
26 changed files with 55 additions and 94 deletions
|
@ -21,7 +21,7 @@
|
|||
<h2>Dropdown menus and custom selects without JavaScript.</h2>
|
||||
</hgroup>
|
||||
<p>Dropdowns are built with <code><<b>details</b> <i>role</i>=<u>"list"</u>></code> as a wrapper and <code><<b>summary</b>></code> and <code><<b>ul</b>></code> as direct childs.</p>
|
||||
<p>For style consistency with the form elements, dropdowns are styled as a <a href="forms.html"><code><<b>select</b>></code></a> by default.</p>
|
||||
<p>For style consistency with the form elements, dropdowns are styled like a <a href="forms.html"><code><<b>select</b>></code></a> by default.</p>
|
||||
<article aria-label="Dropdown style">
|
||||
<details role="list">
|
||||
<summary aria-haspopup="listbox">Dropdown</summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue