max-font-size

Jump to: navigation, search

max-font-size


Non-Standard

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

  • max-font-size: font-size
  • max-font-size: auto


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

Specification Status Related Changes
CSS3 Text Module Obsolete (previously Candidate Recommendation) Section 4.4

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related articles

Fonts

















  • max-font-size





Text





















  • max-font-size






























… further results