{"id":20554,"date":"2013-03-13T15:22:25","date_gmt":"2013-03-13T22:22:25","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=20554"},"modified":"2020-09-01T08:21:44","modified_gmt":"2020-09-01T15:21:44","slug":"hanging-punctuation","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/h\/hanging-punctuation\/","title":{"rendered":"hanging-punctuation"},"content":{"rendered":"\n

The hanging-punctuation<\/code> property aims at giving web designers a finer grained control over typography on the web.<\/p>\n\n\n\n

The idea behind hanging punctuation is to put some punctuation characters from start (or to a lesser extend at the end) of text elements “outside” of the box in order to preserve the reading flow.<\/p>\n\n\n\n

Basically, it would slightly move that quote, bullet or whatever to the left (or right in rtl<\/code> mode) so that the first letter is properly aligned with the rest of the document.<\/p>\n\n\n\n

\"\"
Figure from this article by Steve Hickey<\/a><\/figcaption><\/figure>\n\n\n\n

Please note this property is optional so browser makers may or may not support it.<\/em><\/p>\n\n\n\n