HTML အော်စက် ဝန်ဆောင်ရေး

အပြန်အလွှတ် ဝတ္ထု အကြောင်း မှာ ဘယ်လိုဖြစ်သနည်း?

  • RWD ဟာ အပြန်အလွှတ် ဝတ္ထု ကို အပြန်အလွှတ် ဝတ္ထု ကို ဖန်တီးသည် (Responsive Web Design)
  • RWD ဟာ ဝတ္ထု ကို အရွယ်အစား ပြောင်းလဲသော နေရာ ကို ချိတ်ဆက်ပေးသည်
  • RWD ဟာ ပုံစံတက် နှင့် ဖိုလုံးပင် အတွက် အပြစ်အမျှ ဖြစ်သည်

ကိုယ်တိုင် အပြန်အလွှတ် ပုံစံ ဖန်တီးပါ

အပြန်အလွှတ် ပုံစံ ကို ဖန်တီးရန် အခြား နည်းလမ်း တစ်ခု မှာ ကိုယ်တိုင် ဖန်တီးရန် ဖြစ်သည်:

!DOCTYPE html
<html lang="en-US">
<head>
<style>
.city {
float: left;
margin: 5px;
padding: 15px;
width: 300px;
height: 300px;
border: 1px solid black;
} 
</style>
</head>
<body>
<h1>CodeW3C.com Demo</h1>
<h2>Resize this responsive page!</h2>
<br>
<div class="city">
<h2>London</h2>
<p>London is the capital city of England.</p>
<p>It is the most populous city in the United Kingdom,</p>
<p>with a metropolitan area of over 13 million inhabitants.</p>
</div>
<div class="city">
<h2>Paris</h2>
<p>Paris is the capital and most populous city of France.</p>
</div>
<div class="city">
<h2>Tokyo</h2>
<p>Tokyo is the capital of Japan, the center of the Greater Tokyo Area,</p>
and the most populous metropolitan area in the world.</p>
</div>
</body>
</html>

ကိုယ်တိုင် စစ်ဆေးမှု

အပြန်အလွှတ် Bootstrap

အပြန်အလွှတ် ပုံစံ ကို ဖန်တီးရန် အခြား နည်းလမ်း တစ်ခု မှာ အရွယ်အစား ကို ပြုလုပ်ရန် ဖြစ်သည်: အခြား အရွယ်အစား အစီအစဉ် ဘရောက်အက်အက်ဖ်

Bootstrap သည် အများဆုံး အသုံးပြုသော အပြန်အလွှတ် ဝတ္ထု ပေါ်တွင် အပြန်အလွှတ် ဝတ္ထု ကို ပြုလုပ်ရန် အသုံးပြုသည်: HTML, CSS, နှင့် JS ဘရောက်အက်အက်ဖ်

Bootstrap က ကိုယ်ဝင် အရွယ်အစား တူညီ ဖြစ်စေ ရန် လုပ်ဆောင်ပေးသည်: စက်တင်းကွန်ပျူတာ၊ အက်တိုပ်ဘက်တက်၊ ပုံစံတက်ကွန်ပျူတာ နှင့် ဖိုလုံးပင်:

!DOCTYPE html
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" 
  href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<div class="jumbotron">
  <h1>CodeW3C.com Demo</h1> 
  <p>Resize this responsive page!</p> 
</div>
</div>
<div class="container">
<div class="row">
  <div class="col-md-4">
    <h2>London</h2>
    <p>London is the capital city of England.</p>
    <p>It is the most populous city in the United Kingdom,</p>
    <p>with a metropolitan area of over 13 million inhabitants.</p>
  </div>
  <div class="col-md-4">
    <h2>Paris</h2>
    <p>Paris is the capital and most populous city of France.</p>
  </div>
  <div class="col-md-4">
    <h2>Tokyo</h2>
    <p>Tokyo is the capital of Japan, the center of the Greater Tokyo Area,</p>
    and the most populous metropolitan area in the world.</p>
  </div>
</div>
</div>
</body>
</html>

ကိုယ်တိုင် စစ်ဆေးမှု

Bootstrap အကြောင်းကျင်းသုံးစံ ပေါ်တွင် အသင် အပြုအမူ ကြည့်တော်မူပါ။ Bootstrap ပြန်လည်သုံးစံ