bootstrap 4 dropdown list code example

Example 1: create a dropdown in html bootstrap

Example 2: bootstrap 4 dropdown

Example 3: dropdown button in bootstrap 4

Example 4: bootstrap 4 dropdown item list style

$(document).ready(function() {
  $(".dropdown-menu li a").click(function(e) {
    e.preventDefault();
    $(".dropdown-menu li").removeClass('activeTabLink');
    var activeAttr = $(this).parent('li').addClass('activeTabLink');
  });
});

Tags:

Misc Example