CSS စာသား-အလှဆင်-အရောင် ပိုင်ဆိုင်မှု
ဥပမာ
စာသားအလှဆင်ခြင်း၏အရောင်ကို အနီရောင်အဖြစ် သတ်မှတ်ပါ-
p
{
text-decoration: underline;
text-decoration-color: red;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှု သည် text-decoration-color
စာသားအလှဆင်ခြင်း၏အရောင် (မျဉ်းသား၊ အထပ်များ၊ မျဉ်းကြောင်းများ) ကို သတ်မှတ်သည်။
မူလတန်ဖိုး: | လက်ရှိအရောင် |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | ဟုတ်တယ် ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS3 |
JavaScript syntax- | အရာဝတ္ထု .style.textDecorationColor="red" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
-moz- သို့မဟုတ် -webkit- ဖြင့်လိုက်သောနံပါတ်များသည် ရှေ့ဆက်တွဲတစ်ခုနှင့်အလုပ်လုပ်သော ပထမဆုံးဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
text-decoration-color | 57.0 | 79.0 | 36.0 6.0 -moz- |
12.1 7.1 -webkit- |
44.0 |
CSS Syntax
text-decoration-color: color|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
color | Specifies the color of the text-decoration | |
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 ရည်ညွှန်း- textDecorationColor ပိုင်ဆိုင်မှု