I have the following dilemma with two elements (menu elements) that I need to move in a responsive design (now these are just two variations, say, one for a width of more than 750 pixels and the other for a width of up to 750 pixels):
Should I have two separate html blocks, one for each option, and hide / show them depending on the size of the application?
Or do I need to have only one html block and css styles that play with positions? This last option is rather complicated with the design that I plan, so the real question may be: is it too bad to have two different html blocks? The page will have javascript and ajax interaction, although I'm not sure to what extent. Thank you in advance.
source
share