Zurb Css框架下拉列表问题

Pra*_*tre 3 css-frameworks zurb-foundation drop-down-menu

我正在使用Zurb Css框架,如基础文档中所述.zurb.com/docs/forms.php 我使用了与下面提供的相同的代码

<label for="customDropdown">Dropdown Label</label>
<select style="display:none;" id="customDropdown">
  <option SELECTED>This is a dropdown</option>
  <option>This is another option</option>
  <option>Look, a third option</option>
</select>
<div class="custom dropdown">
  <a href="#" class="current">This is a dropdown</a>
  <a href="#" class="selector"></a>
  <ul>
    <li>This is a dropdown</li>
    <li>This is another option</li>
    <li>Look, a third option</li>
  </ul>
</div>
Run Code Online (Sandbox Code Playgroud)

但我看不到任何下拉,上面的代码是从他们的网站上复制粘贴的.

谢谢.

Pra*_*tre 6

这是一个愚蠢的错误,我忘了把class ='custom'放到表单元素中.