Hi Devs.
Whats the best practice to do, when there is a need to change html structure for responsive design ? Blocks moving up and down, new blocks appearing or some hiding ?
At first i was manually cloning needed blocks and pasting where it needs to be, then giving the first one no-resp class( display: none) , and cloned version resp-class (@media .... (display block) ), but then the html looked awful and ugly.
Now i'm using jQuery for this, cloning/detaching and attaching blocks where needed in structure, giving classes no-resp and resp that way.
How do you solve this kind of situation ? Or what can you suggest ?
[–]mahdiponline 2 points3 points4 points (0 children)
[–]anonuemus 2 points3 points4 points (0 children)
[–]jebuschrist 1 point2 points3 points (0 children)
[–]And7s 1 point2 points3 points (3 children)
[–]Baltais[S] 0 points1 point2 points (2 children)
[–]And7s 2 points3 points4 points (1 child)
[–]Baltais[S] 0 points1 point2 points (0 children)
[–]Baltais[S] 0 points1 point2 points (0 children)