CSS min-height ပိုင်ဆိုင်မှု
ဥပမာ
<p> ဒြပ်စင်တစ်ခု၏ အနိမ့်ဆုံးအမြင့်ကို 200 ပစ်ဇယ်အဖြစ် သတ်မှတ်ပါ-
p.ex1
{
min-height: 200px;
}
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ပိုင်ဆိုင်မှုသည် ဒြပ်စင်တစ်ခု၏ အ min-height
နိမ့်ဆုံးအမြင့်ကို သတ်မှတ်သည်။
အကြောင်းအရာသည် အနိမ့်ဆုံးအမြင့်ထက် သေးငယ်ပါက၊ အနိမ့်ဆုံးအမြင့်ကို အသုံးပြုမည်ဖြစ်သည်။
အကြောင်းအရာသည် အနိမ့်ဆုံးအမြင့်ထက် ပိုကြီးပါက၊
min-height
ပိုင်ဆိုင်မှုသည် အကျိုးသက်ရောက်မှုမရှိပါ။
မှတ်ချက် ။ _
_ _
min-height
မူလတန်ဖိုး: | ၀ယ်တယ်။ |
---|---|
အမွေဆက်ခံသည်- | မဟုတ်ဘူး |
သက်ဝင်လှုပ်ရှားနိုင်သော | ဟုတ်ကဲ့၊ တစ်ဦးချင်းဂုဏ်သတ္တိများကိုကြည့်ပါ ။ ကာတွန်း အကြောင်းဖတ်ပါ။ |
ဗားရှင်း- | CSS2 |
JavaScript syntax- | အရာဝတ္ထု .style.minHeight="400px" |
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Property | |||||
---|---|---|---|---|---|
min-height | 1.0 | 7.0 | 3.0 | 2.0.2 | 4.0 |
CSS Syntax
min-height: length|initial|inherit;
အိမ်ခြံမြေတန်ဖိုးများ
Value | Description | Play it |
---|---|---|
length | Default value is 0. Defines the minimum height in px, cm, etc. Read about length units | |
% | Defines the minimum height in percent of the containing block | |
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 ရည်ညွှန်းချက်- အမြင့်ဆုံး-အမြင့် ပိုင်ဆိုင်မှု
HTML DOM ရည်ညွှန်းချက်- minHeight ပိုင်ဆိုင်မှု