Browse documentation
Reference / Typography
Font style
Set a passage in italic or return individual words inside it to an upright face.
Working example
“Draw what you see.” Studio handbook
Use an em element when the emphasis changes the meaning. Its visual treatment can still be adjusted with a utility.
<blockquote class="font-serif italic text-2xl">
“Draw what you see.”
<cite class="block font-sans not-italic text-sm">Studio handbook</cite>
</blockquote>Class reference
| Class | CSS declarations |
|---|---|
italic | font-style: italic; |
not-italic | font-style: normal; |
View full generated CSS
.italic {
font-style: italic;
}
.not-italic {
font-style: normal;
}