3.9 #components.ddmenu .drop-down-menu
Toggle example guides Toggle HTML markup
White information window with rounded corners, absolutely positioned. Requires
open
or show
class to become visible, and to set up width. closing-x
element is
optional.
Examples
Default styling
Closed:
- 24h
- 12h
In opened state:
- 24h
- 12h
.open-up
opens drowp down menu up
Closed:
- 24h
- 12h
In opened state:
- 24h
- 12h
Markup
<p>Closed: <div class="drop-down-menu notap" data-content="24h">
<ul class="animation">
<li data-do="set,24h" class="selected">24h</li>
<li data-do="set,12h">12h</li>
</ul>
</div></p>
<p>In opened state:
<div class="drop-down-menu [modifier class] notap opened" data-content="24h">
<ul class="animation show">
<li data-do="set,24h" class="selected">24h</li>
<li data-do="set,12h">12h</li>
</ul>
</div></p>
Source:
src/css/components/drop-down-menu.less
, line 1