Home  >  Article  >  Web Front-end  >  How to use css hanging-punctuation attribute

How to use css hanging-punctuation attribute

silencement
silencementOriginal
2019-05-28 10:14:573068browse

How to use css hanging-punctuation attribute

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn