কম্পিউটার টিউটোরিয়াল

CSS দিয়ে নেভিগেশন বার পেজের নিচে ফিক্স করা

নেভিগেশন বারের নিচে রাখতে position: fixed প্রোপার্টি bottom প্রোপার্টির সাথে ব্যবহার করুন।

নিচের কোডটি রান করে নিচে থাকা একটি মেনু বাস্তবায়ন করতে পারেন:

উদাহরণ

<!DOCTYPE html> <html>    <head>       <style>          ul {             list-style-type: none;             position: fixed;             bottom: 0;             width: 100%;          }          li {             float: left;                border-right: 1px solid white;          }          li a {             display: block;             padding: 8px;             background-color: orange;          }          li:last-child {             border-right: none;          }          div {             padding:10px;             margin-top:10px;             background-color:white;             height:1000px;          }       </style>    </head>    <body>       <ul>          <li><a href = "#home">Home</a></li>          <li><a href = "#news">News</a></li>          <li><a href = "#contact">Contact</a></li>          <li><a href = "#about">About</a></li>       </ul>       <div>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>          <p>Adding demo text to check fixed menu.</p>       </div>    </body> </html>

  1. CSS দিয়ে ফিক্সড সাইড নেভিগেশন মেনু তৈরি করার পদ্ধতি

  2. CSS দিয়ে বটম নেভিগেশন মেনু তৈরি

  3. CSS position প্রোপার্টি ব্যবহার করে অন-স্ক্রোল ফিক্সড নেভিগেশন বার তৈরি করা

  4. অ্যান্ড্রয়েডে ক্রোমের মেনু বার নিচে আন করার উপায়