Menu Home

block-ellipsis

osbo.com | CSS | Properties | block-ellipsis

The block-ellipsis CSS property allows inserting content into the last line box before a (forced or unforced) region break to indicate the continuity of truncated/interrupted content.

It only affects line boxes contained directly by the block container itself, but as it inherits, will have an effect on descendants’ line boxes unless overridden. If the box contains no line box immediately preceding a region break, then this property has no effect.

Syntax

CSS

block-ellipsis: value;

JS

object.style.blockEllipsis = "value";

Values

<'block-ellipsis'> = none | auto | <string>
none

The rendering is unaffected.

auto

Render an ellipsis character (U+2026) or a more typographically-appropriate equivalent.

<string>

Specifies a sequence of characters delimited by double quotes (") or single quotes (').

Initial

none

Internal

continue

line-clamp

max-lines

External

World Wide Web Consortium (W3C)