Quick Tip - 05: Small Caps Using font-variant

February 07, 2014 | 1 Minute Read

Ever needed to use small caps in a website? They can add a really nice typographic touch in certain circumstances, but I've never really taken advantage of them with CSS.

It’s really easy to add small caps using font-variant, here’s how:

The CSS:

h2 {
    font-variant: small-caps
}

The HTML:

<h2>See I'm Using Small Caps</h2>

The Demo:

See I’m Using Small Caps

Browser Support:

ie10 and above Chrome 31 and above Fire Fox 26 and above Safari 7 and above

The font-variant property has good browser support working in all modern browsers. Not supported in Internet Explorer 9 and below.


Sources

Found any of this Stuff Helpful?

If you found any this helpful and want to show some love, you can always buy me a coffee!