ShapeYourPath
(current)
Run Code
Live Code Editor- Bootstrap 4 List Group Flush
Source Code
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <title>Bootstrap Flush/Remove Borders</title> </head> <body> <div class="container mt-4"> <h1>Bootstrap 4 List Group Flush</h1> <p> In this example, you will learn how to create Bootstrap 4 list group flush. Basically, It is used to remove some borders and rounded corners of the list items. </p> <p>To remove list group borders and rounded corners, use .list-group-flush to the ul element base class. </p> <ul class="list-group list-group-flush"> <li class="list-group-item">Web Development</li> <li class="list-group-item">Database Development</li> <li class="list-group-item">Graphics Development</li> <li class="list-group-item">Testing</li> </ul> </div> <!--/container--> <!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> </body> </html>
Output :
Running