camsong/You-Dont-Need-jQuery

Any tips on responsive layout / adaptive layout

BdR76 opened this issue · 1 comments

BdR76 commented

jQuery also has lots of plug-ins for adaptive/responsive layouts. So to resize DOM elements and fonts to fit different screen resolutions.

Maybe you can add tips on how to do a responsive layout / adaptive layout natively, maybe using just CSS? I found this article quite helpful.

Well we can't completely remove media query. But we can minimize media queries. and for responsive flex is best option with VW for font. Because flex give more freedom then using css framework.
Also, VH and VW units can cause issues on iOS devices.