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

Video


You are likely to add video to one of your projects, so let's make this responsive. So, here is how you add video. On or around line 309, inside our last row div, but after the table, let's add the following:

<div class="flex-video">
        <iframe width="420" height="315" src="https://www.youtube.com/watch?v=8FfAGiUiOWk&list=TLuNeo0ehMwmKsLJj2bu5yD0qPMtPN8D0Q" frameborder="0" allowfullscreen></iframe>
</div>

If your video is widescreen and/or vimeo, just add a widescreen class and/or vimeo, like this:

<div class="flex-video widescreen vimeo">
        <iframe width="420" height="315" src="https://www.youtube.com/watch?v=8FfAGiUiOWk&list=TLuNeo0ehMwmKsLJj2bu5yD0qPMtPN8D0Q" frameborder="0" allowfullscreen></iframe>
</div>

You can put the video inside the grid as well, and it will act like any other element and resize properly for the screen.