Responsive navigation

Responsive navigation

how they change the navigation into icons when i click the trigger? http://wrapbootstrap.com/preview/WB0R5L90S how is the logic works? thank you