Foundation CSS Kitchen Sink Grid
Last Updated : 22 Mar, 2022
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. 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. In this article, we will discuss the Kitchen Sink Grid in Foundation CSS. Foundation CSS Kitchen Sink has the foundation elements to work well in our websites and applications. The Kitchen Sink Grid is used to make responsive layout designs both for web app as well as the mobile app.
Foundation CSS Kitchen Sink Grid Classes:
- [size]-n: This class is used to specify the alignment of various column in a row at different screen sizes. Here size can be small, medium or large and n can be 1,2,3,4,5,6,7,8.
- column: This class is used to define the current element as a column.
Syntax:
<div class ="row callout"> <div class="callout small-n medium-n large-n column"> ........... </div> </div>
Example 1: Below is the example that illustrates the use of Kitchen Sink Grid using various screen sizes class.
HTML <!DOCTYPE html> <html lang="en"> <head> <title>Foundation CSS Kitchen Sink Grid</title> <link rel="stylesheet" href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation-float.min.css" crossorigin="anonymous"> <link rel="stylesheet" href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation-prototype.min.css" crossorigin="anonymous"> <link rel="stylesheet" href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation-rtl.min.css" crossorigin="anonymous"> <link rel="stylesheet" href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css" crossorigin="anonymous"> <script src= "https://cdnjs.cloudflare.com/ajax/libs/foundation/6.0.1/js/vendor/jquery.min.js"> </script> <script crossorigin="anonymous" src= "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/foundation.min.js"> </script> <script src= "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/foundation.min.js"> </script> </head> <body> <center> <h1 style="color:green;"> GeeksforGeeks </h1> <h5>Foundation CSS Kitchen Sink Grid</h5> <div class="row callout"> <div class="callout small-2 medium-3 large-4 columns"> small-2 medium-3 large-4 columns </div> <div class="callout small-4 medium-3 large-4 columns"> small-4 medium-3 large-4 columns </div> <div class="callout small-6 large-4 columns"> small-6 medium-3 large-4 columns </div> </div> </center> <script> $(document).ready(function () { $(document).foundation(); }) </script> </body> </html>
Output:

Example 2: Below is the another example that illustrates the use of Kitchen Sink Grid using various screen sizes class.
HTML <!DOCTYPE html> <html lang="en"> <head> <title>Foundation CSS Kitchen Sink Grid</title> <link rel="stylesheet" href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation-float.min.css" crossorigin="anonymous"> <link rel="stylesheet" href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation-prototype.min.css" crossorigin="anonymous"> <link rel="stylesheet" href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation-rtl.min.css" crossorigin="anonymous"> <link rel="stylesheet" href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css" crossorigin="anonymous"> <script src= "https://cdnjs.cloudflare.com/ajax/libs/foundation/6.0.1/js/vendor/jquery.min.js"> </script> <script crossorigin="anonymous" src= "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/foundation.min.js"> </script> <script src= "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/foundation.min.js"> </script> </head> <body> <center> <h1 style="color:green;"> GeeksforGeeks </h1> <h5>Foundation CSS Kitchen Sink Grid</h5> <div class="row callout"> <div class="callout large-3 columns"> small-12 medium-12 large-3 columns </div> <div class="callout large-6 columns"> small-12 medium-12 large-6 columns </div> <div class="callout large-3 columns"> small-12 medium-12 large-3 columns </div> </div> </center> <script> $(document).ready(function () { $(document).foundation(); }) </script> </body> </html>
Output:

Reference: https://get.foundation/sites/docs/kitchen-sink.html#grid
Similar Reads
Foundation CSS Kitchen Sink Flex Grid 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,
3 min read
Foundation CSS Kitchen Sink 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. Kitchen Sink has the foundation elements to work well o
2 min read
Foundation CSS Kitchen Sink Menu Foundation CSS is the free, open-source front-end CSS framework used to build beautiful, responsive websites, applications, and emails that work on any type of device. It is written using HTML, CSS, and Javascript. It is used by many companies like Amazon, Facebook, Disney, etc. It uses Saas compile
2 min read
Foundation CSS Kitchen Sink Tabs Foundation CSS is the frontend framework of CSS that is used to build responsive websites, apps, and emails that work perfectly on any device. It is written using HTML, CSS, and Javascript and is used by many famous companies like Amazon, Facebook, eBay, etc. It uses packages like Grunt and Libsass
3 min read
Foundation CSS Kitchen Sink Forms 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,
3 min read