BS List Groups Basic List Groups The simplest list group is an unordered list with list items: ------list mukava ----- To make a basic list group, use a <ul> element with class .list-group and <li> elements with class .list-group-item. Example First item Second item Third item List Group With Badges You can also include badges in a list group. The badges will automatically be positioned to the right. ------list mukava ----- To make a badge, insert a <span> element with class .badge within the list item: Example New 12 Deleted 5 Warnings 3 List Group With Linked Items The items in a list group may also be hyperlinks. This will add a grey background color on hover. ------list mukava ----- To build a linked list group, use <div> instead of <ul> and <a> instead of <li>. Example First item Second item Third item Active State ------list mukava ----- Use the .active class to highlight the current item: Example First item Second item Third item Disabled Item The following list group contains a disabled item: ------list mukava ----- To disable an object, use the .disabled class: Example First item Second item Third item Contextual Classes Contextual classes can be used to color list items. ------list mukava ----- The classes for coloring list items are: .list-group-item-success, list-group-item-info, and list-group-item-warning, .list-group-item-danger: Example First item Second item Third item Fourth item Custom Content You can include almost any HTML within a list group item.Bootstrap includes the classes .list-group-item-heading and .list-group-item-text, which can be used as follows: Example First List Group Item Heading List Group Item Text Second List Group Item Heading List Group Item Text Third List Group Item Heading List Group Item Text