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

Using a mixin within Sass and Foundation


Foundation has many ways to use mixins within Sass. You can just write your own, as we did previously, and include them in your SCSS, or you can take many of the Foundation components and build your own custom components. When you combine your own Sass, mixins, media queries, and Foundation components, you can pretty much do anything you like layout- and theme-wise. This is what makes Foundation the most advanced responsive framework.

When you think of mobile first and start to get into Sass and mixins, you will start to put the bare minimum on the screen on mobile, and then, as the screen size gets bigger, you might decide to add more polish to certain elements. For example, you might round the corners, add a gradient, and give the text a shadow on a button when it is on a desktop. You have the ability to only add custom SCSS on different screen sizes. This level of customization can allow you to control every aspect of your project for any resolution...