![]() |
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 layout stunning responsive websites, apps, and emails that appear amazing and can be accessible to any device. In this article, we will discuss the XY Grid frame in Foundation CSS.
In Foundation CSS, the XY Grid Gutters are used to give margin and padding to the grid element.
Foundation CSS XY Grid Gutters Classes:
Syntax:
<div class="grid-x XY-Grid-Gutters-Classes:"> .... </div>
Example 1: Below is the example that illustrates the use of grid gutters with grid-margin-x class.
Output:
Example 2: Below is the example that illustrates the use of grid gutters with grid-padding-x class.
Output:
Reference: https://get.foundation/sites/docs/xy-grid.html#gutters