CSS asılı noktalama Özellik
Örnek
<p> öğesindeki ilk satırın başlangıç kenarının dışına (varsa) bir noktalama işareti yerleştirin:
p
{
hanging-punctuation: first;
}
Tanım ve Kullanım
Özellik , hanging-punctuation
bir noktalama işaretinin tüm metin satırının başında veya sonunda satır kutusunun dışına yerleştirilip yerleştirilmeyeceğini belirtir.
Varsayılan değer: | Yok |
---|---|
Miras: | Evet |
canlandırılabilir: | Hayır. Canlandırılabilir hakkında bilgi edinin |
Sürüm: | CSS3 |
JavaScript sözdizimi: | nesne .style.hangingPunctuation="ilk" |
Tarayıcı Desteği
Büyük tarayıcıların hiçbiri asılı noktalama özelliğini desteklemez.
Property | |||||
---|---|---|---|---|---|
hanging-punctuation | Not supported | Not supported | Not supported | 10+ | Not supported |
CSS Sözdizimi
hanging-punctuation: none|first|last|allow-end|force-end|initial|inherit;
Mülk değerleri
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 |