# Line Height

## `.line-height-normal`

Sets the line-height property to `normal`, allowing the browser to determine the appropriate line height based on the font and content.

CSS equivalent: `line-height: normal;`

Example usage:

```html
<div class="line-height-normal">This element has normal line height.</div>
```

***

## `.line-height-{number}`

Sets the line height of the text content.

CSS equivalent: `line-height: {number}px;`

Example usage:

```html
<div class="line-height-24">This text has a line height of 24 pixels.</div>
```

The line-height property controls the spacing between lines of text within an element. Use these classes to apply specific line-height values or reset to the default behavior.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://codennerd.gitbook.io/cxcss/product-guides/typography/line-height.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
