I have a style.css with a media query. In my javascript-file, I have a value for the desired mobile-width stored in a variable.
By changing the variable, I want to c
Okay, I think I have a solution that fits me. I outsource the media query into an additional style.css (style-mobile.css for example). This file is only loaded if the window-width is the variable value.
This solution fits me, but other may not find the answer for that problem here. Should I mark this answer as a solution anyway?