လုပ်နည်း - Bottom Navigation
CSS ဖြင့် အောက်ခြေလမ်းညွှန်မီနူးကို ဖန်တီးနည်းကို လေ့လာပါ။
အောက်ခြေလမ်းညွှန် မီနူး
အောက်ခြေလမ်းညွှန်မီနူးကို ဖန်တီးပါ။
အဆင့် 1) HTML ကိုထည့်ပါ
ဥပမာ
<div class="navbar">
<a href="#home"
class="active">Home</a>
<a href="#news">News</a>
<a href="#contact">Contact</a>
</div>
အဆင့် 2) CSS ကိုထည့်ပါ
ဥပမာ
/* Place the navbar at the bottom of the page, and make it stick */
.navbar {
background-color: #333;
overflow: hidden;
position: fixed;
bottom: 0;
width:
100%;
}
/*
Style the links inside the navigation bar */
.navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
.navbar a:hover {
background-color: #ddd;
color: black;
}
/* Add
a color to the active/current link */
.navbar
a.active {
background-color: #04AA6D;
color: white;
}
အကြံပြုချက်- မိုဘိုင်းအတွက် အဆင်ပြေပြီး တုံ့ပြန်မှုရှိသော အောက်ခြေလမ်းညွှန်ဘားကို ဖန်တီးရန်၊ ကျွန်ုပ်တို့၏ လုပ်နည်း - တုံ့ပြန်မှု အောက်ခြေလမ်းကြောင်း ပြမှု သင်ခန်းစာကို ဖတ်ရှုပါ။
အကြံပြုချက်- လမ်းပြဘားများအကြောင်း ပိုမိုလေ့လာရန် ကျွန်ုပ်တို့၏ CSS Navbar Tutorial သို့ သွားပါ ။