Vlastnost CSS předvislá interpunkce
Příklad
Umístěte interpunkční znaménko (pokud existuje) mimo počáteční okraj prvního řádku v prvku <p>:
p
{
hanging-punctuation: first;
}
Definice a použití
Tato hanging-punctuation
vlastnost určuje, zda může být interpunkční znaménko umístěno mimo řádek na začátku nebo na konci celého řádku textu.
Výchozí hodnota: | žádný |
---|---|
Zděděno: | Ano |
Animovatelné: | Ne. Přečtěte si o tématu Animable |
Verze: | CSS3 |
Syntaxe JavaScriptu: | objekt .style.hangingPunctuation="první" |
Podpora prohlížeče
Žádný z hlavních prohlížečů nepodporuje vlastnost předsazení-interpunkce.
Property | |||||
---|---|---|---|---|---|
hanging-punctuation | Not supported | Not supported | Not supported | 10+ | Not supported |
Syntaxe CSS
hanging-punctuation: none|first|last|allow-end|force-end|initial|inherit;
Hodnoty vlastností
Value | Description |
---|---|
none | No punctuation mark may be placed outside the line box at the start or at the end of a full line of text |
first | Punctuation may hang outside the start edge of the first line |
last | Punctuation may hang outside the end edge of the last line |
allow-end | Punctuation may hang outside the end edge of all lines if the punctuation does not otherwise fit prior to justification |
force-end | Punctuation may hang outside the end edge of all lines. If justification is enabled on this line, then it will force the punctuation to hang |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |