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.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -