Home  >  Article  >  Web Front-end  >  Detailed introduction to text-kashida-space attribute in css

Detailed introduction to text-kashida-space attribute in css

黄舟
黄舟Original
2017-06-20 13:58:072042browse


Syntax:

text-kashida-space : length

Parameters:

length: Percentage. Indicates the ratio of kashida expansion to space expansion. At 100%, only kashida expands. At 0%, only spaces are expanded. The default value is 0%

Description:

Set or retrieve how to stretch characters to adjust text line arrangement. It can be used with the text-justifyattribute.
The corresponding script feature is textKashidaSpace. Please see other books I have written.

Example:

div { text-kashida-space : 50%; }


Value:
length: Percentage. Indicates the ratio of kashida expansion to space expansion. At 100%, only kashida expands. is 0%, only space expansion
inherit: Follow the settings of the parent object

Description:
Set or retrieve how to stretch characters to adjust text line arrangement. The default value is 0%.
Kashida is a typographic effect that adjusts lines of text by elongating characters in just the right place. It is commonly used in Arabic writing systems.
This attribute can be used in any situation where Kashida style is applied. For example, when the text-justify attribute value is auto, distribute, kashida, newspaper.
This property only works on block objects.
This property is read-only for currentStyle objects. For other objects can be read and written.
The corresponding script feature is textKashidaSpace.
Example:

div { text-kashida-space : 50%;text-justify: kashida; }

The above is the detailed content of Detailed introduction to text-kashida-space attribute in css. 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