စတုတ္ထပါးဆိုင်ရာ text-emphasis-color အကိုးအချုပ်
- အရှေ့ပိုင်း စာသင်း text-emphasis
- နောက်ပိုင်း စာသင်း text-emphasis-position
定义和用法
text-emphasis-color
属性设置强调标记的颜色。
提示:除非设置了 text-emphasis-style 属性,否则不会显示强调标记。
实例
使用 text-emphasis-color 属性:
p.ex1 { text-emphasis-color: red; } p.ex2 { text-emphasis-color: blue; } p.ex3 { text-emphasis-color: rgb(130, 180, 150); } p.ex4 { text-emphasis-color: currentcolor; }
CSS 语法
text-emphasis-color: color|inherit|initial;
属性值
值 | 描述 |
---|---|
color |
设置强调标记的颜色。 အခြား အရေးယူမှု မပြောင်းလဲဘဲ အရေးယူထားသည့် အရေးယူမှု ကို အသုံးပြုရန်。 |
initial | အဆိုပါ ဗီယက်ပယ် ကို မူကြမ်း ပုံစံ သို့ သတ်မှတ်ထားရန်။ ကျမ်းကို ကြည့်ရှုရန်。 initial. |
inherit | အဆိုပါ ဗီယက်ပယ် ကို အဖိုင်အရာ မှ အသုံးပြုထားသည်။ ကျမ်းကို ကြည့်ရှုရန်。 inherit. |
နည်းပါး အချက်အလက်
မူကြမ်း ပုံစံ: | currentcolor |
---|---|
တိုက်ရိုက်မှု: | အော် |
ပုံစံ: | ဘာသာပြန် ကုဒ် 3 |
ဂျစ်တာ ဘာသာစကား: | object.style.textEmphasisColor="blue" |
ဘာသာပြန် ကုဒ် အပါအဝင်
အချက်အလက်များတွင် အဆိုပါ ဗီယက်ပယ် ကို ပထမဆုံး အထူးသတ်မှတ် သည့် ဘာသာပြန် ကုဒ် ကို အချက်ပြထားသည်。
ခရိုးမိ | အန်ဂျီ | ဖရက်ခ် | ဆာဖာ | အိုပ်ရာ |
---|---|---|---|---|
99.0 | 99.0 | 46.0 | 7.0 | 85.0 |
- အရှေ့ပိုင်း စာသင်း text-emphasis
- နောက်ပိုင်း စာသင်း text-emphasis-position