Syntax

font-style

Setting font style of an element.

Overview

ClassDeclarations
font-style:`style`font-style: `style`;
italicfont-style: italic;
obliquefont-style: oblique;
font:normalfont-style: normal;

Apply conditionally

Apply styles based on different states using selectors and conditional queries.

<div class="font-style:normal:hover font-style:normal@sm font-style:normal@dark font-style:normal@print">…</div>

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy