The font-variant CSS shorthand property allows you to set all the font variants for a font.
You can also set the CSS Level 2 (Revision 1) values of font-variant, (that is, normal or small-caps), by using the font shorthand.
font-variant: small-caps;
font-variant: common-ligatures small-caps;
/* Global values */
font-variant: inherit;
font-variant: initial;
font-variant: unset;
Source: https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant