CSS ကျူတိုရီရယ်

CSS ပင်မစာမျက်နှာ CSS နိဒါန်း CSS Syntax CSS ရွေးချယ်မှုများ CSS လုပ်နည်း CSS မှတ်ချက်များ CSS အရောင်များ CSS နောက်ခံများ CSS နယ်နိမိတ်များ CSS အနားသတ်များ CSS Padding CSS အမြင့်/အနံ CSS Box မော်ဒယ် CSS အကြမ်းဖျင်း CSS စာသား CSS ဖောင့်များ CSS အိုင်ကွန်များ CSS လင့်ခ်များ CSS စာရင်းများ CSS ဇယားများ CSS Display CSS Max-အကျယ် CSS ရာထူး CSS Z အညွှန်း CSS Overflow CSS Float CSS Inline-block CSS ကို ချိန်ညှိပါ။ CSS Combinators CSS Pseudo-class CSS Pseudo-ဒြပ်စင် CSS Opacity CSS Navigation Bar CSS Dropdowns CSS ရုပ်ပုံပြခန်း CSS Image Sprites CSS Attr ရွေးချယ်မှုများ CSS ပုံစံများ CSS ကောင်တာများ CSS ဝဘ်ဆိုဒ် အပြင်အဆင် CSS ယူနစ်များ CSS တိကျမှု CSS !အရေးကြီးသည်။ CSS သင်္ချာလုပ်ဆောင်ချက်များ

CSS အဆင့်မြင့်

CSS Rounded Corners CSS Border ပုံများ CSS နောက်ခံများ CSS အရောင်များ CSS အရောင်သော့ချက်စာလုံးများ CSS Gradients CSS Shadows CSS စာသားအကျိုးသက်ရောက်မှုများ CSS ဝဘ်ဖောင့်များ CSS 2D အသွင်ပြောင်းမှုများ CSS 3D အသွင်ပြောင်းမှုများ CSS အသွင်ကူးပြောင်းမှုများ CSS Animations CSS Tooltips CSS စတိုင်ပုံများ CSS Image Reflection CSS object-fit CSS object-position CSS Masking CSS ခလုတ်များ CSS Pagination CSS ကော်လံမျိုးစုံ CSS User Interface CSS အပြောင်းအလဲများ CSS Box Sizing CSS မီဒီယာမေးခွန်းများ CSS MQ နမူနာများ CSS Flexbox

CSS တုံ့ပြန်မှု

RWD မိတ်ဆက် RWD Viewport RWD Grid View RWD မီဒီယာမေးခွန်းများ RWD ပုံများ RWD ဗီဒီယိုများ RWD မူဘောင်များ RWD နမူနာများ

CSS Grid

Grid Intro ဂရစ်ကွန်တိန်နာ ဇယားကွက်

CSS SASS

SASS ကျူတိုရီရယ်

CSS နမူနာများ

CSS Templates များ CSS နမူနာများ css စာမေးပွဲ CSS လေ့ကျင့်ခန်းများ CSS လက်မှတ်

CSS ကိုးကားချက်များ

CSS အကိုးအကား CSS ရွေးချယ်မှုများ CSS လုပ်ဆောင်ချက်များ CSS အကိုးအကား Aural CSS ဝဘ်ဘေးကင်းသောဖောင့်များ CSS Animatable CSS ယူနစ်များ CSS PX-EM Converter CSS အရောင်များ CSS အရောင်တန်ဖိုးများ CSS မူရင်းတန်ဖိုးများ CSS Browser ပံ့ပိုးမှု

CSS နောက်ခံအတိုကောက်


CSS နောက်ခံ - အတိုကောက် ပိုင်ဆိုင်မှု

ကုဒ်ကို အတိုချုံ့ရန်၊ ပိုင်ဆိုင်မှုတစ်ခုတည်းတွင် နောက်ခံဂုဏ်သတ္တိအားလုံးကို သတ်မှတ်နိုင်သည်။ ဒါကို အတိုကောက် ဥစ္စာလို့ ခေါ်တယ်။

စာရေးမယ့်အစား

body {
  background-color: #ffffff;
  background-image: url("img_tree.png");
  background-repeat: no-repeat;
  background-position: right top;
}

အတိုကောက် ပိုင်ဆိုင်မှုကို သင်သုံးနိုင်သည် background

ဥပမာ

ကြေငြာချက်တစ်ခုတွင် နောက်ခံဂုဏ်သတ္တိများကို သတ်မှတ်ရန် လက်တိုပိုင်ဆိုင်မှုကို အသုံးပြုပါ-

body {
  background: #ffffff url("img_tree.png") no-repeat right top;
}

အတိုကောက် ပိုင်ဆိုင်မှုကို အသုံးပြုသောအခါ ပိုင်ဆိုင်မှုတန်ဖိုးများ၏ အစီအစဥ်မှာ-

  • background-color
  • background-image
  • background-repeat
  • background-attachment
  • background-position

အခြားအရာများသည် ဤအစီအစဥ်အတိုင်း ရှိနေသရွေ့ ပိုင်ဆိုင်မှုတန်ဖိုးများထဲမှ တစ်ခု ပျောက်ဆုံးသွားပါက အရေးမကြီးပါ။ တန်ဖိုးတစ်ခုမရှိသောကြောင့် အထက်ဖော်ပြပါဥပမာများတွင် နောက်ခံ-ပူးတွဲပါပစ္စည်းကို ကျွန်ုပ်တို့အသုံးမပြုကြောင်း သတိပြုပါ။


လေ့ကျင့်ခန်းများဖြင့် သင့်ကိုယ်သင် စမ်းသပ်ပါ။

လေ့ကျင့်ခန်း

<h1> ဒြပ်စင်၏ နောက်ခံအရောင်ကို "အပြာနုရောင်" ဟု သတ်မှတ်ပါ။

<style>
h1 {
  : lightblue;
}
</style>

<body>
  <h1>This is a heading</h1>
  <p>This is a paragraph</p>
  <p>This is a paragraph</p>
</body>


CSS Background Properties အားလုံး

Property Description
background Sets all the background properties in one declaration
background-attachment Sets whether a background image is fixed or scrolls with the rest of the page
background-clip Specifies the painting area of the background
background-color Sets the background color of an element
background-image Sets the background image for an element
background-origin Specifies where the background image(s) is/are positioned
background-position Sets the starting position of a background image
background-repeat Sets how a background image will be repeated
background-size Specifies the size of the background image(s)