Bootstrap 4 Demo
Bootstrap 4 Code Output

A demo of dropdown in navbar