Bootstrap 4 List Group Disabled

Bootstrap provide the facility to create a group of list with list items. The most basic list group is an unordered list with list items. Use an ul element with class .list-group, and li elements with class .list-group-item to create a basic list group.

The .disabled class is used to disable an item.

Bootstrap 4 Disabled Item in a List Group Example:

<!DOCTYPE html>
<html lang="en">
  <title>Bootstrap 4 List Group With a Disabled Item Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="">
  <script src=""></script>
  <script src=""></script>
<div class="container">
  <h2>Bootstrap 4 List Group With a Disabled Item Example</h2>
  <div class="list-group">
    <a href="#" class="list-group-item disabled">First item</a>
    <a href="#" class="list-group-item">Second item</a>
    <a href="#" class="list-group-item">Third item</a>

Try it:

Bootstrap 4 List Group With a Disabled Item Example on

Please follow and like us:
Content Protection by