How to use css hanging-punctuation attribute

silencement
Release: 2019-05-28 10:14:57
Original
3067 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!