property
hanging-punctuation — CSS reference
Allows specified punctuation to extend outside line edges. Initial none and inherited. Glyph geometry is font dependent. Treat as progressive enhancement.
Formal Syntax & Structure
css syntaxcss
none | first || [ force-end | allow-end ] || lastWorking Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS text lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}
#a{hanging-punctuation:first}</style><body><p id="a">Design readable interfaces with CSS.</p><p lang="fa" dir="rtl">متن فارسی برای آزمایش چیدمان</p></body></html>