From the course: EPUB: CSS
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Working with fine typographic controls
- In this movie we're going to be looking at some of the fine typographic controls that CSS gives us, that enable us to make not only or text look better, but make it easier for our reader to consume. I'm in the file CSS Text [EPUB], and I'm working in Calibre. You'll have access to this file if you're a premium subscriber, but of course you could always work along in your own editor with your own file, if you choose to do so. So the three essential properties we're going to work through here are line-height, letter-spacing, and word-spacing. And in this file I've got a couple of paragraphs just here. So we'll start off by creating a paragraph rule, just here. So I'm just going to put a P selector and my bracers, I tend to do that in one go so that way I don't miss one off. And we'll look at the line-height property first, so let's just do line-height just here. I'm going to set that to a large value to start off with. I'm going to do 2em, just there, and hit my semicolon so that will…
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.
Contents
-
-
-
-
Understanding the special environment of the EPUB reading system2m 22s
-
Looking at the essential text-related properties3m 1s
-
Working with sizing3m 31s
-
Working with alignment2m 8s
-
Including margins and padding5m 59s
-
Styling a heading5m
-
Working with fine typographic controls4m 40s
-
Including paragraph indents1m 44s
-
Handling text hyphens, widows, and orphans4m 1s
-
Working with additional font properties6m 8s
-
-
-
-