We have expanded on the basic Bootstrap dropdowns. A consequence of this is that the markup required can be a little more complicated, but it also makes the dropdowns alot more flexible.
A content-dropdown. This is the most advanced dropdown available, and as such it varants it's own documentation! See more examples on how to use it here: Content-dropdowns
Lorem ipsum.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. At excepturi obcaecati provident quod ut. Ad asperiores atque fugiat, harum, illo nam odio officia officiis quam quia quos reprehenderit sunt veritatis!
Dropups
You can have your "dropdowns" expand upwards instead of downwards!
Dropdowns comes in two colored flavors - the standard white, and an inverted dark dropdown. Simply add the class .dropdown-inverse to the dropdown to make it dark.
You can control the horizontal alignment of the dropdown, relative to the .dropdown container by adding .align-left(default) or .align-right to the .dropdown-menu.
This is very useful if you know that your dropdown resides close to the right edge of the viewport.
We have created three types of animations to be used with the dropdowns.
Apply these to the .dropdown-menu itself.
Class
Result
.animate-expand
Expands and fades the menu and the inner .dropdown-content from 0 height.
NOTE: This animation relies on a "magic number" for it's expanded height. If you build a dropdown which get's cut off, then you need to adjust the max-height property of your specific dropdown. The global, and dangerous scss variable can be found in _custom.scss under $animation-expand-magic-number
NOTE: This animation requires the .dropdown-content wrapper.