Visual Styles

font-size-adjust
Values:

<number> | none | inherit

Initial value:

none

Applies to:

All elements.

Inherited:

Yes.

Description:

The aim of this property is to allow authors to trigger font scaling such that substitute fonts will not look too wildly different from the font the author wanted to use, even if the substituted font has a different x-height. Note that this property does not appear in CSS2.1. As of this writing, only Firefox for Windows supports it.

font-stretch
Values:

normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit

Initial value:

normal

Applies to:

All elements.

Inherited:

Yes.

Description:

With this property, the character glyphs in a given font can be made wider or narrower, ideally by selected condensed or expanded faces from the font’s family. Note that this property does not appear in CSS2.1.

marker-offset
Values:

<length> | auto | inherit

Initial value:

auto

Applies to:

Elements with a display value of marker.

Inherited:

No.

Note:

This property is obsolete as of CSS2.1 and will likely not appear in CSS3, with the same holding true for the display value of marker; as of this writing, it appears that other mechanisms will be used to achieve these effects.

Description:

This property specifies the distance between the nearest border edge of a marker box and its associated element box.

text-shadow
Values:

none | [<color> || <length> <length> ...

Get CSS Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.