with .dropdown-menu: If you want the dropdown menu to expand upwards instead of downwards, change Today we learned how we can make different types of dropdowns with it, with no JS involved (at least not on our part). Finally, for accessibility reasons, the value of the aria-expanded attribute of the dropdown’s toggle link will change to true. Bootstrap 4 Sort list by drag and drop list items - jquery UI sortable. The JavaScript is included with the default Bootstrap JS file and you can use it simply by adding the CSS classes — no further JavaScript required. If you have ever created your own Bootstrap Navbar with a dropdown menu, the first thing you may notice is that you have to click the parent link to reveal the sub-menu. Since version 4