Utilizing media queries allows us to modify the CSS for various screen sizes.
My inquiry is: can we switch to a completely different page layout (or View in MVC) when the window size, specifically when the width is less than 500? Assuming that the controller remains the same.
Is it feasible to determine the window size in the view and then select the appropriate layout?
I acknowledge that this may not be the most ideal approach, but is it achievable?
Appreciate your input.