Book Image

Practical Responsive Typography

By : Dario Calonaci
Book Image

Practical Responsive Typography

By: Dario Calonaci

Overview of this book

Typography is an essential part of any website’s design. It can help you stand out from the crowd, communicate with clarity, and cultivate a distinctive identity. Practical Responsive Typography demonstrates how to use typography to greatest effect. With this book you won't underestimate it's importance - you'll be in complete control over this crucial component of web design. From scaling and optimizing screen spaces to using a range of different web fonts, you'll quickly get up to speed with the practical considerations behind successful typography. But more than the fundamentals, you'll also find out how to go further by customizing typography designs to suit your identity.
Table of Contents (17 chapters)
Practical Responsive Typography
About the Author
About the Reviewer


This book will take your typography knowledge from starter level to pro, focusing on clear writing, simple real-world examples, and the application of both of these to the exciting World Wide Web!

Typography is one of the most important parts of any website's design. This book will show you, with practical examples, how you can implement practical typography techniques to make your site responsive. This book will be a mix of responsive typography concepts and its practical implementations. The best way to approach this topic is to give users a clear roadmap to the fundamental ways of responsive typography, scaling and optimizing screen spaces, using Web Fonts and the multiple ways to do so, and the common pitfalls in this process. Then, the book will move towards real hands-on examples that will make you design your own responsive typography designs and customize existing designs without any external help.

What this book covers

Chapter 1, Web Typography, introduces you to all the basic knowledge about typography.

Chapter 2, Responsive Typography, explains the basic application of the general knowledge of typography—applied on the Web.

Chapter 3, Web Fonts and Services, provides an overhauled look at the different solutions for custom fonts on the Web.

Chapter 4, Modern Scale, is an introduction to typography scales—and how to apply them.

Chapter 5, Viewport and Size, provides an introduction to viewport area and units—and, again, how to use them.

Chapter 6, Media Queries, explains what media queries are—and, of course, how to use them.

Chapter 7, Sass and Typography, is an introduction to Sass, what it is, and how it can help you write better CSS, along with a lot of examples of using it for better typography.

Chapter 8, Three Step Responsive, is a follow-up to the previous chapters, summarizing all the previous information and explaining how to apply it to your website's typography.

Chapter 9, Future Responsive – Hinting, takes a quick look at hinting, what it is, and an example solution to what will likely come in the future.

Chapter 10, Future Responsive – Drop Caps and Shapes, provides a quick look at the future of Web typography, with the introduction of drop caps and shapes on the Web—and how to code them now.

What you need for this book

You only need a code editor, Koala or any Sass-processing software, and a web browser.

Who this book is for

This book is for web developers who are familiar with the basics of HTML5 and CSS3 and want to learn how to implement responsive typography efficiently and effectively. However, you do not require any coding experience to make full use of this book.


In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "It's time to add some CSS properties to the preceding <p>."

A block of code is set as follows:

<h1>Nothing but Death</h1>
<h2>Pablo Neruda - 1926</h2>
<p> There are cemeteries that are lonely[…]</p>

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "You'll just have to click that Publish button from time to time and that's it."


Warnings or important notes appear in a box like this.


Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail , and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for this book from your account at If you purchased this book elsewhere, you can visit and register to have the files e-mailed directly to you.

You can download the code files by following these steps:

  1. Log in or register to our website using your e-mail address and password.

  2. Hover the mouse pointer on the SUPPORT tab at the top.

  3. Click on Code Downloads & Errata.

  4. Enter the name of the book in the Search box.

  5. Select the book for which you're looking to download the code files.

  6. Choose from the drop-down menu where you purchased this book from.

  7. Click on Code Download.

You can also download the code files by clicking on the Code Files button on the book's webpage at the Packt Publishing website. This page can be accessed by entering the book's name in the Search box. Please note that you need to be logged in to your Packt account.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR / 7-Zip for Windows

  • Zipeg / iZip / UnRarX for Mac

  • 7-Zip / PeaZip for Linux

The code bundle for the book is also hosted on GitHub at We also have other code bundles from our rich catalog of books and videos available at Check them out!


Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to and enter the name of the book in the search field. The required information will appear under the Errata section.


Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.


If you have a problem with any aspect of this book, you can contact us at , and we will do our best to address the problem.