ShapeYourPath
(current)
Run Code
Live Code Editor- Bootstrap 5 Disabled Link
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"> <meta name="description" content=""> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"> <title>Bootstrap 5 List Group</title> </head> <body> <h1 class="text-center"> List Group With Disabled Linked Items </h1> <p class="text-justify text-center"> In this example, you will learn how to create a Bootstrap-disabled link. To create a disabled link, simply add the disabled class to the list group item element. </p> <div class="container"> <div class="row"> <div class="col-sm-6 offset-sm-3"> <div class="list-group"> <a href="#" class="list-group-item disabled">Web Design</a> <a href="#" class="list-group-item ">App Design</a> <a href="#" class="list-group-item disabled">Graphics Design</a> </div><!--/list-group--> </div><!--/col-sm-6--> </div><!--/row--> </div><!--/container--> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"></script> </body> </html>
Output :
Running