In this tutorial, see how to combine small and large grids in a single page using the Foundation framework. Watch more at: Up and Running with Foundation.
This tutorial is a single movie from the Up and Running with Foundation course presented by lynda.com author Jen Kramer. The complete course duration is 3 hours and 7 minutes and introduces this web design framework and provides a quick overview of all of the goodies in Foundation.
1. Foundation Introduction and Download
2. The Grid System in Foundation
3. CSS Overview
4. Navigation Systems
It is the 12th most popular project in all of GitHub and is used by Dictionary.com, ZURB’s web applications, and others.
Foundation emerged as a ZURB project to develop front-end code faster and better. In October 2011, ZURB released Foundation 2.0 as open-source under the MIT License. In June 2012 ZURB released a major update, Foundation 3.0. In February 2013 ZURB released another major update, Foundation 4.0.
Foundation has relatively incomplete support for HTML 5 and CSS 3, but it is compatible with all major browsers. Basic information of compatibility of websites or applications is available for all devices and browsers. There is a concept of partial compatibility that makes the basic information of a website available for all devices and browsers. For example, the properties introduced in CSS3 for rounded corners, gradients and shadows are used by Foundation despite lack of support by older web browsers. These extend the functionality of the toolkit, but are not required for its use.
Since version 2.0 it also supports responsive design. This means the graphic design of web pages adjusts dynamically, taking into account the characteristics of the device used (PC, tablet, mobile phone). Additionally, since 4.0 it has taken a mobile-first approach, designing and developing for mobile devices first, and enhancing the web pages and applications for larger screens.
Foundation is open source and available on Github. Developers are encouraged to participate in the project and make their own contributions to the platform.
Structure and Function
Foundation is modular and consists essentially of a series of Sass stylesheets that implement the various components of the toolkit. Component stylesheets can be included via Sass or by customizing the initial Foundation download. The developer can adapt the Foundation file itself, selecting the components he wishes to use in his project.
Adjustments are possible to a limited extent through a central configuration stylesheet. More profound changes are possible by changing the Sass variables.
The use of Sass stylesheet language allows the use of variables, functions and operators, nested selectors, as well as so-called mixins.
Since version 3.0, the configuration of Foundation also has a special “Customize” option in the documentation. Moreover, the developer chooses on a form the desired components and adjusts, if necessary, the values of various options to their needs. The subsequently generated package already includes the pre-built CSS style sheet.
Grid system and responsive design
Foundation comes standard with a 940 pixel wide, flexible grid layout. The toolkit is fully responsive to make use different resolutions and types of devices: mobile phones, portrait and landscape format, tablets and PCs with a low and high resolution (widescreen). This adjusts the width of the columns automatically.
Understanding CSS stylesheet
Foundation provides a set of stylesheets that provide basic style definitions for all key HTML components. These provide a browser and system-wide uniform, modern appearance for formatting text, tables and form elements.
n addition to the regular HTML elements, Foundation contains other commonly used interface elements. These include buttons with advanced features (for example, grouping of buttons or buttons with drop-down option, make and navigation lists, horizontal and vertical tabs, navigation, breadcrumb navigation, pagination, etc.), labels, advanced typographic capabilities, and formatting for messages such as warnings.
To use Foundation in an HTML page the developer must first compile one CSS file from the downloaded Sass stylesheets. This can be done with a special compiler. Alternatively, the developer can download a pre-compiled CSS file.
Build My Site