"Sibar with out Toggle"
Bootstrap 4.1.1 Snippet by saikrishna99666

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Side Navigation Bar</title> <link rel="stylesheet" href="styles.css"> <script src="https://kit.fontawesome.com/b99e675b6e.js"></script> </head> <body> <div class="wrapper"> <div class="sidebar"> <h2>Sidebar</h2> <ul> <li><a href="#"><i class="fas fa-home"></i>Home</a></li> <li><a href="#"><i class="fas fa-user"></i>Profile</a></li> <li><a href="#"><i class="fas fa-address-card"></i>About</a></li> <li><a href="#"><i class="fas fa-project-diagram"></i>portfolio</a></li> <li><a href="#"><i class="fas fa-blog"></i>Blogs</a></li> <li><a href="#"><i class="fas fa-address-book"></i>Contact</a></li> <li><a href="#"><i class="fas fa-map-pin"></i>Map</a></li> </ul> <div class="social_media"> <a href="#"><i class="fab fa-facebook-f"></i></a> <a href="#"><i class="fab fa-twitter"></i></a> <a href="#"><i class="fab fa-instagram"></i></a> </div> </div> <div class="main_content"> <div class="header">Welcome!! Have a nice day.</div> <div class="info"> <div>Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sed nobis ut exercitationem atque accusamus sit natus officiis totam blanditiis at eum nemo, nulla et quae eius culpa eveniet voluptatibus repellat illum tenetur, facilis porro. Quae fuga odio perferendis itaque alias sint, beatae non maiores magnam ad, veniam tenetur atque ea exercitationem earum eveniet totam ipsam magni tempora aliquid ullam possimus? Tempora nobis facere porro, praesentium magnam provident accusamus temporibus! Repellendus harum veritatis itaque molestias repudiandae ea corporis maiores non obcaecati libero, unde ipsum consequuntur aut consectetur culpa magni omnis vero odio suscipit vitae dolor quod dignissimos perferendis eos? Consequuntur!</div> <div>Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sed nobis ut exercitationem atque accusamus sit natus officiis totam blanditiis at eum nemo, nulla et quae eius culpa eveniet voluptatibus repellat illum tenetur, facilis porro. Quae fuga odio perferendis itaque alias sint, beatae non maiores magnam ad, veniam tenetur atque ea exercitationem earum eveniet totam ipsam magni tempora aliquid ullam possimus? Tempora nobis facere porro, praesentium magnam provident accusamus temporibus! Repellendus harum veritatis itaque molestias repudiandae ea corporis maiores non obcaecati libero, unde ipsum consequuntur aut consectetur culpa magni omnis vero odio suscipit vitae dolor quod dignissimos perferendis eos? Consequuntur!</div> <div>Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sed nobis ut exercitationem atque accusamus sit natus officiis totam blanditiis at eum nemo, nulla et quae eius culpa eveniet voluptatibus repellat illum tenetur, facilis porro. Quae fuga odio perferendis itaque alias sint, beatae non maiores magnam ad, veniam tenetur atque ea exercitationem earum eveniet totam ipsam magni tempora aliquid ullam possimus? Tempora nobis facere porro, praesentium magnam provident accusamus temporibus! Repellendus harum veritatis itaque molestias repudiandae ea corporis maiores non obcaecati libero, unde ipsum consequuntur aut consectetur culpa magni omnis vero odio suscipit vitae dolor quod dignissimos perferendis eos? Consequuntur!</div> </div> </div> </div> </body> </html>
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap'); *{ margin: 0; padding: 0; box-sizing: border-box; list-style: none; text-decoration: none; font-family: 'Josefin Sans', sans-serif; } body{ background-color: #f3f5f9; } .wrapper{ display: flex; position: relative; } .wrapper .sidebar{ width: 200px; height: 100%; background: #4b4276; padding: 30px 0px; position: fixed; } .wrapper .sidebar h2{ color: #fff; text-transform: uppercase; text-align: center; margin-bottom: 30px; } .wrapper .sidebar ul li{ padding: 15px; border-bottom: 1px solid #bdb8d7; border-bottom: 1px solid rgba(0,0,0,0.05); border-top: 1px solid rgba(255,255,255,0.05); } .wrapper .sidebar ul li a{ color: #bdb8d7; display: block; } .wrapper .sidebar ul li a .fas{ width: 25px; } .wrapper .sidebar ul li:hover{ background-color: #594f8d; } .wrapper .sidebar ul li:hover a{ color: #fff; } .wrapper .sidebar .social_media{ position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; } .wrapper .sidebar .social_media a{ display: block; width: 40px; background: #594f8d; height: 40px; line-height: 45px; text-align: center; margin: 0 5px; color: #bdb8d7; border-top-left-radius: 5px; border-top-right-radius: 5px; } .wrapper .main_content{ width: 100%; margin-left: 200px; } .wrapper .main_content .header{ padding: 20px; background: #fff; color: #717171; border-bottom: 1px solid #e0e4e8; } .wrapper .main_content .info{ margin: 20px; color: #717171; line-height: 25px; } .wrapper .main_content .info div{ margin-bottom: 20px; }

Related: See More


Questions / Comments: