CSS စာသား-အလှဆင်-စတိုင် ပိုင်ဆိုင်မှု
ဥပမာ
ကွဲပြားသော စာသားအလှဆင်စတိုင်များကို သတ်မှတ်ပါ-
div.a
{
text-decoration-line: underline;
text-decoration-style: solid;
}
div.b
{
text-decoration-line: underline;
text-decoration-style: wavy;
}
div.c
{
text-decoration-line: underline;
text-decoration-style: double;
}
div.d
{
text-decoration-line: overline underline;
text-decoration-style: wavy;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှု သည် text-decoration-style
စာသားအလှဆင်မှုပုံစံ (အစိုင်အခဲ၊ လှိုင်းတွန့်၊ အစက်၊ အစက်ချ၊ နှစ်ဆ) ကဲ့သို့ သတ်မှတ်သည်။
အကြံပြုချက်- စာသားအလှဆင်-လိုင်း၊ စာသားအလှဆင်စတိုင်နှင့် စာသားအလှဆင်-အရောင်တို့အတွက် လက်တိုပိုင်ဆိုင်မှုဖြစ်သည့် စာသားအလှဆင်ခြင်း ပိုင်ဆိုင်မှု ကိုလည်း ကြည့်ရှု ပါ။
မူလတန်ဖိုး: | အစိုင်အခဲ |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.textDecorationStyle="wavy" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
နံပါတ်များ -moz- ဖြင့် နောက်မှလိုက်သော ပထမဦးဆုံးဗားရှင်းကို အကြိုစာလုံးဖြင့် လုပ်ဆောင်သည်။
Property | |||||
---|---|---|---|---|---|
text-decoration-style | 57.0 | 79.0 | 36.0 6.0 -moz- |
12.1 | 44.0 |
CSS Syntax
text-decoration-style: solid|double|dotted|dashed|wavy|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
solid | Default value. The line will display as a single line | |
double | The line will display as a double line | |
dotted | The line will display as a dotted line | |
dashed | The line will display as a dashed line | |
wavy | The line will display as a wavy line | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
CSS သင်ခန်းစာ- CSS စာသား
HTML DOM ရည်ညွှန်းချက်- textDecorationStyle ပိုင်ဆိုင်မှု