Advanced Typography Styles

 
new course
CSS grid landing page tutorial (36min)

Lesson info

Lesson info

Customizing how your type looks and feels is one of the most important choices a designer can make. On top of font properties, line height, and typography units, there are a number of other typography options that you can set in the Styles Panel to define the appearance and flow of text.

Here are the advanced typography properties we’ll be covering in this video:

  1. ‍Letter spacing
  2. ‍Text indent
  3. ‍Text align
  4. ‍Text decoration
  5. ‍Text transform
  6. ‍Direction
Clone this projectDownload project assetsDownload lesson assets

Transcript

In addition to other Typography style values, there are a number of options we have for controlling spacing, flow, and appearance of text inside our projects.

We'll look at spacing, indentation, alignment, decoration, transform, and direction.

Spacing defines the space between characters. If we select our heading here and increase the pixel value in spacing, we can see the characters space out. Let's also type in a value for spacing. And we can use decimal values as well. And what if we want to bring the characters even closer? We can use negative values. That's spacing.

Indentation is a quick one. Essentially, the value here affects the first line of text in a text element. Just make the adjustment here and preview it right on the Canvas. That's indentation.

Alignment is also one of those deceptively simple properties which can be used for a lot more than text alignment. For instance, alignment is one way we can specify how child elements are aligned inside a parent. And now that we've said that, let's actually demonstrate text alignment. Of course we can toggle between left, center, and right, and back to left. But notice how there's one word that hangs off the end of the paragraph. And we can essentially link words together while preserving the space by using a non-breaking space. In Webflow, we simply press Shift + Space, and that will ensure that these words stay together. And one last thing about alignment, sometimes we want a more uniform look to smooth out a poor rag — a distracting shape at the end of these lines. We can always justify our content, as well. That's alignment.

Next is Mind Cont— no. Dale. Wrong slides. Let's go back to Additional Type—that's the one.

Next is Decoration.

We'll double-click to edit our paragraph, and for this one — we can do this on any text element — for this one, we'll select this particular text and wrap it with a span. And we'll click in our Selector field to create and name a class, since we might reuse it. Let's try underline. Or we can try strikethrough. And if we want to affect another chunk of text in a different paragraph? We can do the same thing, wrapping with a span, and we can apply the same class we just created. Of course, we'll change the font color to red for a more dramatic strikethrough effect.

Underline is also used in a ton of links. In fact, sometimes the most useful part of the decoration options is removing an underline from a link by selecting none. But these options — none, underline, strikethrough — that's decoration.

Transform: pretty straightforward. All caps uses capital letters. Capitalize capitalizes the first character of each word, but it doesn't mess with capital letters inside a word or a name. Unlike lowercase. Which forces all capital letters to become lowercase. That's transform.

Finally, text direction for languages like English is left-to-right. But if we're creating in right-to-left languages, like Arabic or Hebrew, we can use this option to toggle the text direction.

And those are some of the additional Typography options we have in our projects.