VOOZH about

URL: https://www.geeksforgeeks.org/css/foundation-css-magellan-installation/

⇱ Foundation CSS Magellan Installation - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Foundation CSS Magellan Installation

Last Updated : 23 Jul, 2025

Foundation CSS is an open-source and responsive front-end framework built by the ZURB foundation in September 2011, that makes it easy to layout stunning responsive websites, apps, and emails that appear amazing and can be accessible to any device.

Foundation CSS Magellan is used to jump to the given target when the link is clicked. It is used when we want to jump to some specific section directly without scrolling down the webpage.

For setup/installation of the Magellan in our code just add the attribute data-magellan to the specific section of our code and give a unique ID to each section.

 

Syntax:

<ul class="menu" data-magellan>
 ...
</ul>

Example 1: The following code demonstrates one of the Magellan features of Foundation CSS.

Output:

👁 Image
 

Example 2: The following code demonstrates another example of the Magellan feature.

Output:

👁 Image
 

Reference: https://get.foundation/sites/docs/magellan.html

Comment