![]() |
Foundation CSS is an open-source & 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 & 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. Top Bar is essential for every website. It allows us to navigate among various pages. Foundation CSS offers a foundation-styled Top Bar. By default, the elements in Top Bar stack upon each other as the information cannot be accommodated on smaller screens. Foundation CSS allows us to change the stacking functionality of the top bar for various other screen sizes by using the reserved classes. Foundation CSS Top Bar Stacking Classes:
Syntax: <div class="top-bar Top-Bar-Stacking-Class"> ... </div> Example 1: In the below example, we have created a basic top bar that stacks on large, medium, and small screens. HTML
Output: ![]() Foundation CSS Top Bar Stacking Example 2: In the below example, we have created a basic top bar that stacks on medium and small screens. HTML
Output: ![]() Foundation CSS Top Bar Stacking Reference: https://get.foundation/sites/docs/top-bar.html#stacking |
Reffered: https://www.geeksforgeeks.org
CSS |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 10 |