![]() |
VOOZH | about |
Foundation CSS is an open-source and responsive front-end framework built by ZURB foundation in September 2011, that makes it easy to design beautiful responsive websites, apps, and emails that look amazing and can be accessible to any device. It is used by many companies such as Facebook, eBay, Mozilla, Adobe, and even Disney. The framework is built on Saas-like bootstrap. It is more sophisticated, flexible, and easily customizable. It also comes with CLI, so itβs easy to use it with module bundlers. It offers the Fastclick.js tool for faster rendering on mobile devices.
A Menu in Foundation CSS is a navigation list that contains the different components that redirect to the various linked pages in the websites or web applications. Active State in the case of the menu means that it marks the element as an active page.
Foundation CSS Menu Active State Classes:
Syntax:
<ul class ="menu"> <li class="is-active"><a>....</a></li> <li>....</li> </ul>
Example 1: This is a basic example illustrating Active State made using Foundation CSS.
Output:
Example 2: This is a basic example illustrating a vertical active state created by using Foundation CSS.
Output:
Example 3: This is a basic example illustrating a nested vertical active state created using Foundation CSS.
Output:
Reference: https://get.foundation/sites/docs/menu.html