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

Clearing


Clearing is a full screen lightbox that is nice to showcase images without the distraction of the other site elements. A good example would be a photograph portfolio gallery. So let's add the following code on or around line 104, just make sure it is above the closing </section> tag:

<ul class="clearing-thumbs large-block-grid-3" data-clearing>
        <li><a href="img/wood1.jpg"><img data-caption="Wood 1 Caption" src="img/wood1-tb.jpg"></a></li>
        <li><a href="img/wood2.jpg"><img data-caption="Wood 2 Caption" src="img/wood2-tb.jpg"></a></li>
        <li><a href="img/wood3.jpg"><img data-caption="Wood 3 Caption" src="img/wood3-tb.jpg"></a></li>
      </ul>

Now, take a look at your browser, you will see three wood paneling images that take up the full width of the browser because we did not put this in the Foundation grid, and when you click on one you get a nice full-screen...