Make a menu using standard UL/LI structure, with the default CSS styles as you would like to see it on mobile.
Then override those styles for desktop using media queries (if screen is larger than 600, show everything in a horizontal list…or whatever).