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

Label


If you want little callouts in your content, you can use a label. These are just little elements that have a colored background and text inside. Go ahead and try it out.

<span class="label">I am a label</span>

Again, you can add the secondary, alert, success, radius, and round elements after progress.

Print styles

You have the ability to turn things on and off for print. You can use the show-for-print or hide-for-print class in your code. You can try these out on a few elements if you want and view the print preview.

Sliders

Foundation also allows you to have horizontal and vertical sliders. So, let's add one right below our progress-bar div; this will be around or on line 317:

<div class="range-slider" data-slider>
<span class="range-slider-handle"></span>
<span class="range-slider-active-segment"></span>
  <input type="hidden">
</div>

Go to your browser and refresh, and you will see that you now have a slider. Pretty cool, right? So,...