This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

max-font-size

Summary

This property must not be used. It is no longer included in any standard or standard track specification, nor is it implemented in any browser. It is only used when the text-align-last property is set to size. It controls allowed adjustments of font-size to fit line content.

Overview table

Initial value
auto
Applies to
all elements and generated content
Inherited
Yes
Media
visual
Computed value
font-size
Animatable
No
CSS Object Model Property
maxFontSize

Syntax

Values

font-size
The font size of the last line of an element is restricted to being less than either the computed font-size or this number, whichever is larger.
auto
The rendering agent determines the minium font size.

Usage

 This property must not be used. It is no longer included in any standard or standard track specification, nor is it implemented in any browser. The feature can be mimicked using JavaScript or similar. This property is only used when the text-align-last property is set to size.

Related specifications

CSS3 Text Module
Obsolete (previously Candidate Recommendation)

See also

Related articles

Fonts

Text