css hanging-punctuation attribute definition and usage
In css, the hanging-punctuation attribute is used to specify whether a punctuation mark will be Starts or ends outside the text line box. This attribute is a new attribute in CSS3. Currently, mainstream browsers do not support this attribute.
hanging-punctuation attribute syntax format
css syntax: hanging-punctuation: none/first/last/allow-end/force-end;
JavaScript syntax: object.style.hangingPunctuation="first";
hanging-punctuation attribute value description
none: A line that is not at the beginning or end of the entire line of text Place label symbols outside the box;
first: punctuation is attached outside the starting edge of the first line.
last: Punctuation is attached beyond the end edge of the first line.
allow-end:
force-end:
The above is the detailed content of How to use css hanging-punctuation attribute. For more information, please follow other related articles on the PHP Chinese website!