Like so:
Indrek Lasn

I understand, but on that way if you need use the same rule for another view you are repeating code with the media query rule. This isn’t a bad idea? It’s the opposite of a DRY principle.

And how to handle the request of the server, technically the browser downloads first the HTML and at the same time the CSS file and then render and then downloads the JS file.

The method of CSS on JS only will work if is in server side?

And how handle the render parts ?

I’m trying to understand. Thanks.