CSS စာသား-အလှဆင်-လိုင်း ပိုင်ဆိုင်မှု
ဥပမာ
ကွဲပြားသော စာသားအလှဆင်လိုင်းများကို သတ်မှတ်ပါ-
div.a
{
text-decoration-line: overline;
}
div.b
{
text-decoration-line: underline;
}
div.c
{
text-decoration-line: line-through;
}
div.d
{
text-decoration-line: overline underline;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
text-decoration-line
ပိုင်ဆိုင်မှုသည် အသုံးပြုရန် စာသားအလှဆင်ခြင်း အမျိုးအစားကို သတ်မှတ်ပေးသည် (မျဉ်းသား၊ အထပ်ထပ်၊ မျဉ်းကြောင်းမှ တဆင့်) ။
အကြံပြုချက်- စာသားအလှဆင်-လိုင်း၊ စာသားအလှဆင်စတိုင်နှင့် စာသားအလှဆင်-အရောင်တို့အတွက် လက်တိုပိုင်ဆိုင်မှုဖြစ်သည့် စာသားအလှဆင်ခြင်း ပိုင်ဆိုင်မှု ကိုလည်း ကြည့်ရှု ပါ။
မှတ်ချက်- စာသားအောက်နှင့် အပေါ်မှာ မျဉ်းကြောင်းနှစ်ခုလုံးကို ပြသရန်အတွက် အောက်မျဉ်းကြောင်းနှင့် အထပ်လိုင်း ကဲ့သို့ တန်ဖိုးတစ်ခုထက်ပို၍လည်း ပေါင်းစပ်နိုင်သည် ။
မူလတန်ဖိုး: | မရှိ |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.textDecorationLine="overline" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
-moz- သို့မဟုတ် -webkit- ဖြင့်လိုက်သောနံပါတ်များသည် ရှေ့ဆက်တွဲတစ်ခုနှင့်အလုပ်လုပ်သော ပထမဆုံးဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
text-decoration-line | 57.0 | 79.0 | 36.0 6.0 -moz- |
12.1 7.1 -webkit- |
44.0 |
CSS Syntax
text-decoration-line: none|underline|overline|line-through|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
none | Default value. Specifies no line for the text-decoration | |
underline | Specifies that a line will be displayed under the text | |
overline | Specifies that a line will be displayed over the text | |
line-through | Specifies that a line will be displayed through the text | |
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 ရည်ညွှန်းချက်- textDecorationLine ပိုင်ဆိုင်မှု