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? -

java - How to create Table using Apache PDFBox -

mpi - Why is MPI_Bsend not returning error even when the buffer is insufficient to accommodate all the messages -