javascript - Should I load responsive design via JS or CSS -
i looking make responsive design. curious know how people feel on loading responsive design, should load in new css file , use js define screen size. or should create media queries inside current css file , go there. looking opinion on speed , people feel more optimal approach.
putting regarding styles in css files best practice.
- html => structure
- css => styles
- js => logic
the more separate concerns, easier code mantain.