CSS overflow-wrap Property
ဥပမာ
ကွန်တိန်နာကို ပြည့်လျှံနေပါက ဘရောက်ဆာအား စကားလုံးရှည်များဖြင့် မျဉ်းများဖြတ်ခွင့်ပြုပါ-
div {
overflow-wrap: break-word;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
overflow-wrap
ကွန်တိန်နာကို ပြည့်လျှံနေပါက ဘရောက်ဆာသည် ရှည်လျားသော စကားလုံးများဖြင့် လိုင်းများကို ချိုးဖျက်နိုင်သည်ဖြစ်စေ ပိုင်ဆိုင်မှုက သတ်မှတ်ပေးသည် ။
မူလတန်ဖိုး: | ပုံမှန် |
---|---|
အမွေဆက်ခံသည်- | ဟုတ်တယ် |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.overflowWrap="normal" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
overflow-wrap | 23.0 | 18.0 | 49.0 | 6.1 | 12.1 |
CSS Syntax
overflow-wrap: normal|anywhere|break-word|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
normal | Long words will not break, even if they overflow the container. This is default | |
anywhere | Long words will break if they overflow the container | |
break-word | Long words will break if they overflow the container | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS Overflow