CSS yazma modu Özellik
Örnek
Metin satırlarının yatay mı yoksa dikey mi düzenleneceğini belirtin:
p.test1 {
writing-mode: horizontal-tb;
}
p.test2 {
writing-mode: vertical-rl;
}
span.test2 {
writing-mode:
vertical-rl;
}
Tanım ve Kullanım
Özellik writing-mode
, metin satırlarının yatay mı yoksa dikey mi yerleştirileceğini belirtir.
Varsayılan değer: | yatay-tb |
---|---|
Miras: | Evet |
canlandırılabilir: | Hayır. Canlandırılabilir hakkında bilgi edinin |
Sürüm: | CSS3 |
JavaScript sözdizimi: | nesne .style.writingMode="vertical-rl" |
Tarayıcı Desteği
Tablodaki sayılar, özelliği tam olarak destekleyen ilk tarayıcı sürümünü belirtir.
Property | |||||
---|---|---|---|---|---|
writing-mode | 48.0 | 12.0 | 41.0 | 11.0 | 35.0 |
CSS Sözdizimi
writing-mode: horizontal-tb|vertical-rl|vertical-lr;
Mülk değerleri
Value | Description |
---|---|
horizontal-tb | Let the content flow horizontally from left to right, vertically from top to bottom |
vertical-rl | Let the content flow vertically from top to bottom, horizontally from right to left |
vertical-lr | Let the content flow vertically from top to bottom, horizontally from left to right |
İlgili Sayfalar
CSS eğitimi: CSS Metin Efektleri