Book Image

Learning Zurb Foundation

By : Kevin Horek
Book Image

Learning Zurb Foundation

By: Kevin Horek

Overview of this book

<p>Responsive web design is the next big thing in web design right now. It allows you to control and adapt to the user experience across a variety of devices, screens, and resolutions. Foundation is one of the most well-known responsive frameworks available, and allows you to speed up the prototyping, designing, and theming of your web project; as well as allowing you to create your own custom themes to suit your needs. It makes your life easier by giving you a grid, elements, and JavaScript functions that are responsive and easily customized to work with any web or mobile project that arises.</p> <p>This book starts off with teaching you the basics, and gradually moves on to cover the most advanced parts of this amazing framework. You will learn how to use Foundation to prototype, design, and theme your projects as well as discover how to use the framework with any programming language or content management system.</p>
Table of Contents (17 chapters)
Learning Zurb Foundation
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. The Foundation Grid

By default, HTML and CSS do not have a grid or a really good cross-browser way to lay web projects out. This is why responsive grid frameworks, such as Foundation, have been created. They allow you to extend the core of these languages and really speed up your development time.

We will cover the following topics in this chapter:

  • The Foundation grid basics

  • Centering in the grid

  • Offsetting the grid

  • The block grid

  • Nesting the grid

  • Setting element position based on screen size

  • Modifying the base theme and building a demo site

At a high level, the main purpose of Foundation is to start you off with a responsive grid that will allow you to layout simple to the most complex web layouts that work on any screen size. Foundation allows you to have full control over each column and row on small, medium, and large screen sizes. If you want to tweak any element, column, or row on a screen of any size, you can add custom media queries to pretty much anything. For those of you who...