text-stroke-width ဂုဏ်သတ္တိ
text-stroke-width ဂုဏ်သတ္တိသည် စာသား၏အက္ခရာများ၏ အနားပတ်လည်အထူကို သတ်မှတ်ပေးသည်။
ဤဂုဏ်သတ္တိသည် px၊ em၊ rem စသည့် အရွယ်အစားယူနစ်များဖြင့် ဖော်ပြသတ်မှတ်ထားသည့် တန်ဖိုးများကို လက်ခံသည်။
ထို့အပြင် အောက်ပါတန်ဖိုးများကိုလည်း သတ်မှတ်နိုင်သည် - thin (ပါးလွှာသော မျဉ်းကြောင်း)၊
medium (အလယ်အလတ် မျဉ်းကြောင်း) နှင့် thick
(ထူသော မျဉ်းကြောင်း)။
ဝါကျဖွဲ့စည်းပုံ
selector {
text-stroke-width: number or thin or medium or thick;
}
နမူနာ
ကျွန်ုပ်တို့၏ စာသားအက္ခရာများအား ပါးလွှာသော အနားသတ်တစ်ခု သတ်မှတ်ကြပါစို့ -
<p>
Text
</p>
body {
width: 100px;
height: 50px;
}
p {
-webkit-text-stroke-color: orange;
-webkit-text-stroke-width: thin;
text-stroke-width: thin;
color: white;
font-size: 10em;
margin-top: 0;
font-weight: bold;
font-family: Arial;
}
:
နမူနာ
ယခု ပါးလွှာသော အနားသတ်ကို အလယ်အလတ်အနားသတ်အဖြစ် ပြောင်းလဲကြပါစို့ -
<p>
Text
</p>
body {
width: 100px;
height: 50px;
}
p {
-webkit-text-stroke-color: orange;
-webkit-text-stroke-width: medium;
text-stroke-width: medium;
color: white;
font-size: 10em;
margin-top: 0;
font-weight: bold;
font-family: Arial;
}
:
နမူနာ
ကျွန်ုပ်တို့၏ စာသားအက္ခရာများအား ထူသော အနားသတ်တစ်ခု သတ်မှတ်ကြပါစို့ -
<p>
Text
</p>
body {
width: 100px;
height: 50px;
}
p {
-webkit-text-stroke-color: orange;
-webkit-text-stroke-width: thick;
text-stroke-width: thick;
color: white;
font-size: 10em;
margin-top: 0;
font-weight: bold;
font-family: Arial;
}
:
နမူနာ
ထို့အပြင် ကျွန်ုပ်တို့၏ စာသားအက္ခရာများအား 2px အနားသတ်တစ်ခု သတ်မှတ်ကြပါစို့ -
<p>
Text
</p>
body {
width: 100px;
height: 50px;
}
p {
-webkit-text-stroke-color: orange;
-webkit-text-stroke-width: 2px;
color: white;
font-size: 10em;
margin-top: 0;
font-weight: bold;
font-family: Arial;
}
:
ဤသည်ကိုလည်း ကြည့်ပါ
-
text-strokeဂုဏ်သတ္တိ၊
ထိုဂုဏ်သတ္တိသည် စာသား၏အနားသတ်ကို သတ်မှတ်ပေးသည် -
text-stroke-colorဂုဏ်သတ္တိ၊
ထိုဂုဏ်သတ္တိသည် စာသား၏အနားသတ် အရောင်ကို သတ်မှတ်ပေးသည်