O'Reilly logo

jQuery for Designers : Beginner's Guide - Second Edition by Natalie MacLees

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – using Lettering.js to style letters

Perform the following steps to use the Lettering.js plugin:

  1. We'll get started by creating a basic HTML document and associated files and folders, just like we did in Chapter 1, Designer, Meet jQuery. Inside the HTML document, we need a headline to work with. It's nice to also have at least a bit of text on the page as well in order to really understand how our headline will look with other text on the page:
    <div class="content"> <h1>Alice’s Adventures in Wonderland</h1> <section> <h2>CHAPTER I. Down the Rabbit-Hole</h2> <p>Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required