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 3D အသွင်ပြောင်းမှုများ


CSS 3D အသွင်ပြောင်းမှုများ

CSS သည် 3D အသွင်ပြောင်းမှုများကိုလည်း ပံ့ပိုးပေးပါသည်။

2D နှင့် 3D အသွင်ပြောင်းခြင်းကြား ခြားနားချက်ကို ကြည့်ရန် အောက်ပါဒြပ်စင်များပေါ်တွင် မောက်စ်ကို နှိပ်ပါ-

2D လှည့်ပါ။
3D လှည့်

ဤအခန်းတွင် အောက်ပါ CSS ပိုင်ဆိုင်မှုအကြောင်း လေ့လာရလိမ့်မည်-

  • transform

Browser ပံ့ပိုးမှု

ဇယားရှိ နံပါတ်များသည် ပိုင်ဆိုင်မှုကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။

Property
transform 36.0
10.0
16.0
9.0
23.0

CSS 3D အသွင်ပြောင်းနည်းလမ်းများ

CSS transformပိုင်ဆိုင်မှုဖြင့် အောက်ပါ 3D အသွင်ပြောင်းနည်းလမ်းများကို သင်အသုံးပြုနိုင်သည်-

  • rotateX()
  • rotateY()
  • rotateZ()

rotateX() နည်းလမ်း

X ကိုလှည့်ပါ။

နည်းလမ်း သည် rotateX()၎င်း၏ X-ဝင်ရိုးတစ်ဝိုက်တွင် ဒြပ်စင်တစ်ခုကို ပေးထားသည့်ဒီဂရီဖြင့် လှည့်သည်-

ဥပမာ

#myDiv {
  transform: rotateX(150deg);
}

rotateY() နည်းလမ်း

Y ကိုလှည့်ပါ။

နည်းလမ်း သည် rotateY()သတ်မှတ်ထားသောဒီဂရီဖြင့် ၎င်း၏ Y-ဝင်ရိုးတစ်ဝိုက်တွင် ဒြပ်စင်တစ်ခုကို လှည့်သည်-

ဥပမာ

#myDiv {
  transform: rotateY(150deg);
}

rotateZ() နည်းလမ်း

နည်းလမ်း သည် rotateZ()၎င်း၏ Z-ဝင်ရိုးတစ်ဝိုက်တွင် ဒြပ်စင်တစ်ခုကို ပေးထားသည့်ဒီဂရီဖြင့် လှည့်သည်-

ဥပမာ

#myDiv {
  transform: rotateZ(90deg);
}

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

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

ပိုင်ဆိုင်မှု ဖြင့် transform၊ <div> ဒြပ်စင်အား ၎င်း၏ X-axis ပတ်လည် 150deg လှည့်ပါ။

<style>
div {
  width: 100px;
  height: 100px;
  background-color: lightblue;
  border: 1px solid black;
  : ;
}
</style>

<body>
  <div>This is a div</div>
</body>


CSS Transform Properties

အောက်ပါဇယားသည် 3D အသွင်ပြောင်းခြင်း ဂုဏ်သတ္တိအားလုံးကို စာရင်းပြုစုထားသည်။

Property Description
transform Applies a 2D or 3D transformation to an element
transform-origin Allows you to change the position on transformed elements
transform-style Specifies how nested elements are rendered in 3D space
perspective Specifies the perspective on how 3D elements are viewed
perspective-origin Specifies the bottom position of 3D elements
backface-visibility Defines whether or not an element should be visible when not facing the screen

CSS 3D အသွင်ပြောင်းနည်းလမ်းများ

Function Description
matrix3d
(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n)
Defines a 3D transformation, using a 4x4 matrix of 16 values
translate3d(x,y,z) Defines a 3D translation
translateX(x) Defines a 3D translation, using only the value for the X-axis
translateY(y) Defines a 3D translation, using only the value for the Y-axis
translateZ(z) Defines a 3D translation, using only the value for the Z-axis
scale3d(x,y,z) Defines a 3D scale transformation
scaleX(x) Defines a 3D scale transformation by giving a value for the X-axis
scaleY(y) Defines a 3D scale transformation by giving a value for the Y-axis
scaleZ(z) Defines a 3D scale transformation by giving a value for the Z-axis
rotate3d(x,y,z,angle) Defines a 3D rotation
rotateX(angle) Defines a 3D rotation along the X-axis
rotateY(angle) Defines a 3D rotation along the Y-axis
rotateZ(angle) Defines a 3D rotation along the Z-axis
perspective(n) Defines a perspective view for a 3D transformed element