Foundation CSS Dropdown Basics
Foundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Many companies, like Facebook, eBay, Mozilla, Adobe, and even Disney, use it. This framework is based on bootstrap, which is similar to SaaS. It’s more complex, versatile, and configurable. It also comes with a command-line interface, making it simple to use with module bundlers. Email framework provides you with responsive HTML emails, which can be read on any device. Foundation for Apps allows you to build fully responsive web applications.
Dropdown is used to display the content when we click the element. We can put any type of content in the dropdown and access it by clicking the element. Dropdown is revealed when we click the element or hover over it. In this article, we will discuss Dropdown Basics in Foundation CSS.
Foundation CSS Dropdown Basics Class:
- dropdown-pane: This class is used to create the dropdown pane.
<div class="dropdown-pane" data-dropdown> ..... </div>
Example 1: The following code demonstrates the Foundation CSS Dropdown Basics when we click the element.
Example 2: The following code demonstrates the Foundation CSS Dropdown Basics when we hover over the element.