CSS စာရေးမုဒ် ပိုင်ဆိုင်မှု
ဥပမာ
စာသားမျဉ်းများကို အလျားလိုက် သို့မဟုတ် ဒေါင်လိုက်ချထားခြင်းရှိမရှိ သတ်မှတ်ပါ-
p.test1 {
writing-mode: horizontal-tb;
}
p.test2 {
writing-mode: vertical-rl;
}
span.test2 {
writing-mode:
vertical-rl;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှု သည် writing-mode
စာသားမျဉ်းများကို အလျားလိုက် သို့မဟုတ် ဒေါင်လိုက်ချထားခြင်းရှိမရှိ သတ်မှတ်ပေးသည်။
မူလတန်ဖိုး: | အလျားလိုက်-tb |
---|---|
အမွေဆက်ခံသည်- | ဟုတ်တယ် |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.writingMode="vertical-rl" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
writing-mode | 48.0 | 12.0 | 41.0 | 11.0 | 35.0 |
CSS Syntax
writing-mode: horizontal-tb|vertical-rl|vertical-lr;
အိမ်ခြံမြေတန်ဖိုးများ
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 |
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS စာသားအကျိုးသက်ရောက်မှု များ