Hacker Newsnew | comments | show | ask | jobs | submit login

According to the CSS3 Fonts spec linked in another comment, you get small-caps with:

    font-variant-caps: small-caps
...and contextual alternates (such as swashes) with:

    font-variant-alternates: contextual
If you want to configure a bunch of variations at once, there's a short-hand property:

    font-variant: contextual small-caps
The font-feature-settings option is only there for the wild and crazy OpenType features too esoteric to have CSS attributes.



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: