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

Pagination


Another super useful component that Foundation provides is pagination. If you want your pagination to be "left align", just remove the "-centered" segment from the first div in the following code. But for most of your projects, you will want to "center" your pagination bar so you will likely use the following code. After you open div, use <ul> with the class of "pagination" and the first <li> has a class of "arrow", which renders "«", the double arrow pointing to the left. Keep in mind that classes are reusable. You can apply the "unavailable" class to your pagination bar's elements just like we did previously with our breadcrumb menu. You will see that the "unavailable" <li> item has the character code of "&hellip;"; this renders as three dots "...". These dots show that there are pages between 2 and 9. You will also notice a "current" class on the first li; this shows the current page you are on. At some point, the pagination bar will likely be generated...