Grokking CSS for Web Development
0% completed
Text decoration and line height
Each line of text on a page sits inside an invisible horizontal strip, and the browser stacks these strips one under another. The height of each strip is set by line-height, so this one property controls how far apart the lines of a paragraph are. A second property, text-decoration, draws lines on the text itself: an underline, a line above the text, or a line through it. This lesson adds both to the recipe article.
The page below continues the article. The justify rule from the previous lesson is gone, as that lesson recommended for screen text. Three things are new: a `line-height
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%