VOOZH about

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

⇱ Foundation CSS Flex Grid Offsets - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Foundation CSS Flex Grid Offsets

Last Updated : 23 Jul, 2025

Foundation CSS is an open-source & responsive front-end framework built by 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. In this article, we discuss flex grid offsets.

flex grid offsets:  Offset work is similar to the float grid. flex grid offset is used to set the margin on left for a column and column alignment in right.

Flex Grid offset class:

  • [size]-offset-[n]: This class is used to set the offset of the grid. The size is between small, and large, and n is the number.

Example 1: This example illustrates the use of grid offset using the large-offset-2 class.

Output: 

👁 Image
 

Example 2: This example illustrates the use of grid offset using the small-offset-4 class.

Output:

👁 Image
 

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

Comment