CSS စာသား-အလှဆင်-အထူ ပိုင်ဆိုင်မှု
ဥပမာ
<h1>၊ <h2>၊ <h3> နှင့် <h4> ဒြပ်စင်များအတွက် အလှဆင်လိုင်း၏ မတူညီသောအထူကို သတ်မှတ်ပါ-
h1 {
text-decoration: underline;
text-decoration-thickness: auto;
}
h2 {
text-decoration: underline;
text-decoration-thickness: 5px;
}
h3 {
text-decoration: underline;
text-decoration-thickness: 50%;
}
/* Use shorthand property */
h4 {
text-decoration:
underline solid red 50%;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပစ္စည်း သည် text-decoration-thickness
အလှဆင်လိုင်း၏အထူကိုသတ်မှတ်သည်။
မူလတန်ဖိုး: | အော်တို |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | မဟုတ်ဘူး ၊ တစ်ဦးချင်း ဂုဏ်သတ္တိတွေကို ကြည့်ပါ ။ ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS4 |
JavaScript syntax- | အရာဝတ္ထု .style.textDecorationThickness="5px" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
text-decoration-thickness | 89.0 | 89.0 | 70.0 | 12.1 | 75.0 |
CSS Syntax
text-decoration-thickness:
auto|from-font|length/percentage|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description |
---|---|
auto | The browser chooses the thickness of the decoration line |
from-font | If a font file contains information about a preferred thickness, use that value. If not, behave as auto |
length/percentage | Specifies the thickness as a length or % |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
ဆက်စပ်စာမျက်နှာများ
CSS ရည်ညွှန်းချက်- စာသားအလှဆင်ခြင်း ပိုင်ဆိုင်မှု
CSS သင်ခန်းစာ- CSS စာသားအလှဆင်ခြင်း ။