Foundation CSS Default Media Queries Last Updated : 16 Mar, 2022 Comments Improve Suggest changes Like Article Like Report Foundation CSS is an open-source & responsive front-end framework built by the ZURB foundation in September 2011, which makes it easy to design beautiful responsive websites, apps, and emails that look amazing & can be accessible to any device. 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. 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. Foundation CSS Media Queries include media features such as width, height, color, and display the content as per the specified screen resolution. In short, this feature makes the responsive design actually work. Default Media Queries: Foundation uses the following default media queries which are the three core breakpoints: small: This media query breakpoint class is true for any screen.medium: This media query breakpoint class is true for screens of 640 pixels and wider.large: This media query breakpoint class is true for screens of 1024 pixels and wider. However, many components can be modified at different screen sizes using special breakpoint classes. One of the most common examples can be the grid. In the following code, the left-hand column is six columns wide on small screens, hence .small-6. On medium-sized screens, the class .medium-4 overrides the small style and thus changing the column to be four columns wide. Syntax: <div class="grid-x grid-margin-x"> <div class="cell small-6 medium-4">...</div> </div> CSS Version: If you're using the CSS version of Foundation CSS, you must use the following media queries to follow the core breakpoints: /* Small only */ @media screen and (max-width: 39.9375em) {} /* Medium and up */ @media screen and (min-width: 40em) {} /* Medium only */ @media screen and (min-width: 40em) and (max-width: 63.9375em) {} /* Large and up */ @media screen and (min-width: 64em) {} /* Large only */ @media screen and (min-width: 64em) and (max-width: 74.9375em) {} Example 1: HTML <!DOCTYPE html> <html lang="en"> <head> <title>Foundation CSS Default Media Queries</title> <!-- Compressed CSS --> <link rel="stylesheet" href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css"/> <!-- Compressed JavaScript --> <script src= "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"> </script> <script src= "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/foundation.min.js"> </script> </head> <body style="padding:2rem 1rem;"> <center> <h1 style="color:green;">GeeksforGeeks</h1> <h3>Foundation CSS Default Media Queries</h3> <div class="grid-x grid-margin-x"> <div class="cell small-6 medium-4"> Helloworld This is line 01. </div> <div class="cell small-6 medium-4"> Helloworld This is line 02. </div> <div class="cell small-6 medium-4"> Helloworld This is line 03. </div> <div class="cell small-6 medium-4"> Helloworld This is line 04. </div> <div class="cell small-6 medium-4"> Helloworld This is line 05. </div> <div class="cell small-6 medium-4"> Helloworld This is line 06. </div> </div> </center> <script> $(document).foundation(); </script> </body> </html> Output: Foundation CSS Default Media Query Example 2: HTML <!DOCTYPE html> <html lang="en"> <head> <title>Foundation CSS Default Media Queries</title> <!-- Compressed CSS --> <link rel="stylesheet" href= "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css"/> <!-- Compressed JavaScript --> <script src= "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"> </script> <script src= "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/foundation.min.js"> </script> </head> <body style="padding:2rem 1rem;"> <center> <h1 style="color:green;">GeeksforGeeks</h1> <h3>Foundation CSS Default Media Queries</h3> <div class="grid-x grid-margin-x"> <div class="cell small-2 medium-8"> Helloworld This is line 01. </div> <div class="cell small-2 medium-8"> Helloworld This is line 02. </div> <div class="cell small-2 medium-8"> Helloworld This is line 03. </div> <div class="cell small-2 medium-8"> Helloworld This is line 04. </div> <div class="cell small-2 medium-8"> Helloworld This is line 05. </div> <div class="cell small-2 medium-8"> Helloworld This is line 06. </div> </div> </center> <script> $(document).foundation(); </script> </body> </html> Output: Foundation CSS Default Media Query Reference: https://get.foundation/sites/docs/media-queries.html#default-media-queries Comment More infoAdvertise with us Next Article Foundation CSS Setup Complete Reference V vividhpandey13 Follow Improve Article Tags : Web Technologies CSS Geeks Premier League Geeks-Premier-League-2022 Foundation Foundation-Setup +1 More Similar Reads Foundation CSS Tutorial Foundation CSS is an open-source, responsive front-end framework developed by ZURB in September 2011. Itâs a powerful tool that simplifies the creation of visually appealing responsive websites, apps, and emails that function seamlessly on any device. Renowned companies such as Facebook, eBay, Mozil 6 min read Foundation CSS Introduction A Foundation is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Many companies, like Facebook, eBay, Mozilla, Adobe, and even Disney, use it. The framework is 3 min read Foundation SetupFoundation CSS Global StylesFoundation CSS is an open-source & responsive front-end framework built by the ZURB foundation in September 2011, which makes it really easy to design beautiful responsive websites, apps, and emails that look amazing & can be accessible to any device. The framework is built on Saas-like boot 3 min read Foundation CSS Global Style ColorsFoundation CSS is an open-source & responsive front-end framework built by the ZURB foundation in September 2011, which makes it really easy to design beautiful responsive websites, apps, and emails that look amazing & can be accessible to any device. The framework is built on Saas-like boot 3 min read Foundation CSS Flexbox ModeFoundation CSS is an open-source and 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, M 8 min read Foundation CSS JavaScript Installation & InitializationFoundation 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, 4 min read Foundation CSS Default Media QueriesFoundation CSS is an open-source & responsive front-end framework built by the ZURB foundation in September 2011, which makes it easy to design beautiful responsive websites, apps, and emails that look amazing & can be accessible to any device. The framework is built on SaaS-like bootstrap. 4 min read Foundation CSS Setup Complete ReferenceFoundation CSS Setup includes Default Media Queries that include media features such as width, height, color, and display the content as per the specified screen resolution and Global Style Colors is the default color palette made available for use by Foundation CSS. Complete list of Foundation CSS 2 min read Foundation ContainersFoundation CSS AccordionFoundation 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 to look amazing & can be accessible to any device. It is used by many companies such as Facebook, eBay, M 6 min read Foundation CSS CalloutFoundation 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 to look amazing & can be accessible to any device. It is used by many companies such as Facebook, eBay, M 2 min read Foundation CSS CardFoundation 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. One such useful component which is used in modern websi 4 min read Foundation CSS DropdownFoundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Many companies, like Facebook, eBay, Mozilla, Adobe, and even Disney, use it. This framework 4 min read Foundation CSS Media ObjectFoundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Many companies, like Facebook, eBay, Mozilla, Adobe, and even Disney, use it. It has numerou 6 min read Foundation CSS RevealFoundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Many companies, like Facebook, eBay, Mozilla, Adobe, and even Disney, use it. This framework 3 min read Foundation CSS TablesFoundation CSS is an open-source and 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 and can be accessible to any device. It is used by many companies such as Facebook, eBay, Moz 5 min read Foundation CSS TabsFoundation 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 Responsive Accordion TabsFoundation CSS is a front-end framework used for responsive websites, apps, and emails for any device. It also has many front-end templates like Bootstrap, Semantic UI, and other Front-end frameworks. It is flexible, readable and it is completely customizable. Top tech giants like Adobe, Amazon, Cis 6 min read Foundation CSS Containers Complete ReferenceFoundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Foundation CSS Container contains features like creating a simple modal, nested model, title 3 min read Foundation NavigationFoundation CSS MenuFoundation 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, 2 min read Foundation CSS Dropdown MenuFoundation 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 Drilldown MenuFoundation 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 to look amazing & can be accessible to any device. It is used by many companies such as Facebook, eBay, M 3 min read Foundation CSS Accordion MenuFoundation CSS Accordion Menu is used to convert the basic vertical menu into an expandable accordion menu. To convert the menu into an accordion menu the data-accordion-menu attribute is used. In this article, we will discuss Foundation CSS Accordion Menu. Foundation CSS Accordion Menu Class:accord 2 min read Foundation CSS Top BarFoundation 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, Mo 4 min read Foundation CSS Responsive NavigationFoundation 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, 4 min read Foundation CSS MagellanFoundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Many companies, like Facebook, eBay, Mozilla, Adobe, and even Disney, use it. The framework 4 min read Foundation CSS PaginationFoundation 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 BreadcrumbsFoundation 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 & can be accessible to any device. In this article, we will discuss the Breadcrumb com 2 min read Foundation CSS Navigation Complete ReferenceFoundation CSS Navigation is mostly used for the different behavior of cursor navigation on every element. For ex. 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 webpag 3 min read Foundation TypographyFoundation CSS Base TypographyFoundation 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, 4 min read Foundation CSS Typography HelpersFoundation CSS is one of the most popular front-end frameworks used by developers to design the website. It has several useful components to make the website look much more professional and user-friendly. One such component is the Typography helper. In every website, typography is an essential thing 5 min read Foundation CSS Typography Complete ReferenceFoundation CSS Typography facilitates the clean, simple default style, with attractive styling to the basic typographical elements, that enhance the readability. It can be defined for the headings, paragraphs, lists, other inline components, etc, that helps to create an appealing style for the eleme 2 min read Foundation CSS General Complete Reference Foundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Foundation CSS General use to manage general things like form label Positioning, and upload 2 min read Foundation CSS Kitchen Sink Complete Reference 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 apps as well as mobile apps. Complete list of Foundation CSS Kitchen Sink are below: Foundation CSS Kitchen Sink Foundat 2 min read Foundation ControlsFoundation CSS Button GroupFoundation CSS is an open-source and 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, M 5 min read Foundation CSS Close ButtonFoundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Many companies, like Facebook, eBay, Mozilla, Adobe, and even Disney, use it. This framework 3 min read Foundation CSS SliderFoundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Many companies, like Facebook, eBay, Mozilla, Adobe, and even Disney, use it. The framework 3 min read Foundation CSS SwitchFoundation CSS is an open-source and 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 and can be accessible to any device. It is used by many companies such as Facebook, eBay, Moz 5 min read Foundation CSS Controls Complete ReferenceFoundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Foundation CSS Controls use to create different types of switches, buttons, sliders, and tra 2 min read Foundation MediaFoundation CSS BadgeFoundation 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 & can be accessible to any device. It is utilized by many groups including Facebook, e 2 min read Foundation CSS Responsive EmbedFoundation 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, Mo 2 min read Foundation CSS LabelFoundation 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, 2 min read Foundation CSS OrbitFoundation CSS is an open-source and responsive front-end framework created by ZURB in September 2011 that makes it simple to create stunning responsive websites, apps, and emails that operate on any device. Many companies, like Facebook, eBay, Mozilla, Adobe, and even Disney, use it. The framework 4 min read Foundation CSS Progress BarFoundation 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 ThumbnailFoundation 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, 2 min read Foundation CSS TooltipFoundation 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 to look amazing & can be accessible to any device. It is used by many companies such as Facebook, eBay, M 6 min read Foundation CSS Media Complete ReferenceFoundation CSS Media contains lots of features to make pretty pages and focus on little things like a tooltip, badge coloring, badge icons, label icons, etc. to make a more attractive page. Complete list Foundation CSS Media are listed below: Foundation CSS Badge Foundation CSS Badge ColoringFoundat 2 min read Like