3 ms·
Is responsive design really a hack? Media queries are awesome Putting that stuff in css vs having conditional logic in the javascript is a huge win, esp when y
by willsmith72 3y ago
Is responsive design really a hack? Media queries are awesome
Putting that stuff in css vs having conditional logic in the javascript is a huge win, esp when you want to ssr
- jbeninger 3y agoI had the same thought. Media queries to support different... media seems like the exact proper use case.
- zlg_codes 3y agoNo, it's not a hack. You can query different things about the user agent and serve different CSS based on those queries. Anyone calling it a hack is ignorant, it's a necessary part of producing responsive designs.
- mike_hock 3y agoIt is when then query doesn't query what you want to know but something that happens to correlate with the thing that you actually need.