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

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -