Use float: right on the dropdown class to float the dropdown menu to the right, and right:0 on the dropdown-content if you want the dropdown content to go from right to left.