Sub-dropdowns in a navbar

How do I make sub-dropdowns to a dropdown in a navbar?

If you’re using Bootstrap, have you looked on Bootsnipp.com?