This is simply can apply on any menu; just apply this class .dropdown on parent element of dropdown menu. Following example will show a basic dropdown menu.
For align of the dropdown menu to the right by adding the class .dropdown-menu-right to .dropdown-menu. Below mentioned example show that how its work.
By using this class .dropdown-header to label section of action in any dropdown menu you can add a header. Following example show this.