Time for action – using Lettering.js to style letters
Perform the following steps to use the Lettering.js plugin:
- 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, but it had no pictures or conversations in it, ‘and what is the use of a book,’ thought Alice ‘without pictures or conversations...