VOOZH about

URL: https://www.geeksforgeeks.org/css/foundation-css-flex-grid-importing/

⇱ Foundation CSS Flex Grid Importing - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Foundation CSS Flex Grid Importing

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.

Flex Grid is nothing but a grid system that’s formed on the flex property that permits the responsive structure by creating rows and columns. The row class is used to form a row and the column class is employed to form columns. It also comes with features that are available in flexboxes like automatic stacking, source ordering, vertical alignment, and horizontal alignment.

Importing: 

  •  We need to some changes to the CDN link of the foundation. In the CDN link replace "foundation-flex.css" in place of "foundation.css".
  • In your main sass file set $xy-grid to "false".
 

CDN Link:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/foundation-sites@6.7.4/dist/css/foundation-flex.min.css" crossorigin="anonymous">

Example 1: This example demonstrates flex grid importing using the CDN.

Output: 

πŸ‘ Image
 

Example 2: The following is another example of flex grid importing.

Output:

πŸ‘ Image
 

Reference: https://get.foundation/sites/docs/flex-grid.html

Comment