property
Block ellipsis — CSS reference
Experimental draft: Controls the marker at a block-level clamp point in the overflow draft. The automatic marker is language-sensitive; no-ellipsis suppresses it, and a string requests custom text. Unlike text-overflow it concerns clamped block content. Keep the full information reachable; this legacy clamp fallback cannot specify a custom marker.
Formal Syntax & Structure
css syntaxcss
block-ellipsis: auto;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>block-ellipsis</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{width:180px;line-height:20px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;block-ellipsis:auto}</style><body><div id="a">One line<br>Two lines<br>Three lines<br>Four lines</div><details><summary>Read full text</summary>One line; Two lines; Three lines; Four lines.</details></body></html>