# Font style

> Utilities for controlling the style of text.

Source: https://www.zenplates.co/documentation/utilities/font-style (Utilities › Typography)

| Class     | Properties            |
| --------- | --------------------- |
| `.italic` | `font-style: italic;` |
| `.normal` | `font-style: normal;` |

## Usage

Use the `.normal` utility to display text normally. This is typically used to reset italic text at different breakpoints.

```html
<p class="normal ...">The quick brown fox jumped over the lazy dog.</p>
```

Use the `.italic` utility to make text italic.

```html
<p class="italic ...">The quick brown fox jumped over the lazy dog.</p>
```

## Variants

By default, only responsive variants are generated for font style utilities.

### Responsive

To control the font style of an element at a specific breakpoint, add a `{screen}:` prefix to any existing font style utility.

For example, use `.md:italic` to apply the `italic` utility at only medium screen sizes and above.

### Hover-state

To include hover-state variants like `.hover:italic`, add `"font-style"` to the `$hover-variants` variable when [recompiling your CSS](https://www.zenplates.co/documentation/customization/using-sass-source-files):

```scss
$hover-variants: (
  // ...
  "font-style",
);
```
