From the course: CSS: Advanced Typographic Techniques
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Adding kerning - jQuery Tutorial
From the course: CSS: Advanced Typographic Techniques
Adding kerning
Although we got the word to wrap within its parent container it's not wrapping exactly where we need it to. Now we're going to correct that and more closely match the book covers spacing by adjusting the kerning in our title. And this is what lettering JS is just made to do. So I'm going to go back To my code editor, and I'm working on the stacked.htm that's found in the 02_04 directory. Now the first thing that I'm going to do, I'm going to scroll down a little bit. And you're going to notice that I added, because I'm a nice guy like that, I added a lot of individual selectors for you. Okay. Now this is one of the joys and I got to admit the pains of working with lettering JS because it wraps each character in this main tag and then numbers that with a class character one, two, three, four, five. We have that ability to style this individually, then the pain off course is that sometimes that can be a little tedious here working with a word. It has 11 characters in it and if we have…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.