css.properties

max-lines

The max-lines property specifies the maximum number of lines.

Draft โ€” This property is defined in a W3C Draft and may be subject to change

Formal Syntax

none | <integer [1,โˆž]>

See specification

JavaScript Access

// Access via element.style
element.style.maxLines = 'none';

Browser Support

This property is defined in a W3C Draft and may be subject to change. Browser support data is not yet available.

Related Properties